Skip to content

Commit ff642df

Browse files
Merge pull request #17 from lextira/add-rsyslog
fixed typo
2 parents c861538 + 20e5734 commit ff642df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ftp/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ RUN apt-get update && \
2626
# disable kernel log as it doesn't work in containers - and it should not
2727
sed -i '/imklog/s/^/#/' /etc/rsyslog.conf && \
2828
# disable the template preset and set a custom one (first empty line after GLOBAL DIRECTIVES)
29-
sed -i '/ActionFileDefaultTemplate/s/^/#/' /etc/rsyslog.conf &&
30-
sed -i '/GLOBAL DIRECTIVES/!b;:a;n;/./ba;i$template customFormat,"%msg%\\n" \n$ActionFileDefaultTemplate customFormat' /etc/rsyslog.conf &&
29+
sed -i '/ActionFileDefaultTemplate/s/^/#/' /etc/rsyslog.conf && \
30+
sed -i '/GLOBAL DIRECTIVES/!b;:a;n;/./ba;i$template customFormat,"%msg%\\n" \n$ActionFileDefaultTemplate customFormat' /etc/rsyslog.conf && \
3131
# redirect the output to the process 1
3232
ln -sf /proc/1/fd/1 /var/log/syslog
3333

0 commit comments

Comments
 (0)