mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-07-17 16:45:06 +00:00
Fix rmilter logging
This commit is contained in:
parent
29f343c193
commit
301bd3bc9f
2 changed files with 2 additions and 1 deletions
|
|
@ -19,6 +19,7 @@ COPY supervisord.conf /etc/supervisor/supervisord.conf
|
|||
EXPOSE 9000
|
||||
|
||||
RUN sed -i -E 's/^(\s*)system\(\);/\1unix-stream("\/dev\/log");/' /etc/syslog-ng/syslog-ng.conf
|
||||
RUN touch /var/log/mail.log && chmod 640 /var/log/mail.log && chown root:adm /var/log/mail.log
|
||||
|
||||
CMD exec /usr/bin/supervisord -c /etc/supervisor/supervisord.conf
|
||||
|
||||
|
|
|
|||
|
|
@ -13,6 +13,6 @@ user=_rmilter
|
|||
autorestart=true
|
||||
|
||||
[program:rmilter-syslog]
|
||||
command=/usr/bin/tail -f /var/log/syslog
|
||||
command=/usr/bin/tail -f /var/log/mail.log
|
||||
stdout_logfile=/dev/fd/1
|
||||
stdout_logfile_maxbytes=0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue