mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
Comment out errant/noisy kernel logging in /etc/rsyslogd
This commit is contained in:
parent
bc95107b54
commit
fd9b9ebf1e
|
@ -222,7 +222,7 @@ RUN sed -i -r "/^#?compress/c\compress\ncopytruncate" /etc/logrotate.conf && \
|
|||
sed -i -e 's/^\(POLICYHELPER=\).*/\1/' /usr/sbin/invoke-rc.d && \
|
||||
# Prevent syslog warning about imklog permissions.
|
||||
# We won't want to look at that inside a container anyway.
|
||||
sed -i -e 's/^module\(load="imklog"\)/#module\(load="imklog"\)/' /etc/rsyslog.conf && \
|
||||
sed -i -e 's/^module(load=\"imklog\")/#module(load=\"imklog\")/' /etc/rsyslog.conf && \
|
||||
# prevent email when /sbin/init or init system is not existing \
|
||||
sed -i -e 's|invoke-rc.d rsyslog rotate > /dev/null|/usr/bin/supervisorctl signal hup rsyslog >/dev/null|g' /usr/lib/rsyslog/rsyslog-rotate
|
||||
|
||||
|
|
Loading…
Reference in a new issue