mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-04-26 13:45:40 +02:00
[postfix] expose logs by linking to STDOUT (#440)
This commit is contained in:
parent
91d6e966d3
commit
6254f5bc19
postfix
@ -14,6 +14,8 @@ COPY service /etc/service
|
|||||||
COPY runit_bootstrap /usr/sbin/runit_bootstrap
|
COPY runit_bootstrap /usr/sbin/runit_bootstrap
|
||||||
COPY rsyslog.conf /etc/rsyslog.conf
|
COPY rsyslog.conf /etc/rsyslog.conf
|
||||||
|
|
||||||
|
RUN ln -sf /dev/stdout /var/log/mail.log
|
||||||
|
|
||||||
STOPSIGNAL SIGKILL
|
STOPSIGNAL SIGKILL
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/sbin/runit_bootstrap"]
|
ENTRYPOINT ["/usr/sbin/runit_bootstrap"]
|
||||||
|
@ -81,4 +81,3 @@ if [[ ! -z "$SASL_AUTH" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
/usr/lib/postfix/master -c /etc/postfix -d 2>&1
|
/usr/lib/postfix/master -c /etc/postfix -d 2>&1
|
||||||
tail -F /var/log/mail.log
|
|
||||||
|
0
postfix/service/postfix/supervise/.gitignore
vendored
Normal file
0
postfix/service/postfix/supervise/.gitignore
vendored
Normal file
0
postfix/service/rsyslog/supervise/.gitignore
vendored
Normal file
0
postfix/service/rsyslog/supervise/.gitignore
vendored
Normal file
Loading…
x
Reference in New Issue
Block a user