mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-12-08 14:22:40 +01:00
[postfix] expose logs by linking to STDOUT (#440)
This commit is contained in:
committed by
Jess Frazelle
parent
91d6e966d3
commit
6254f5bc19
@@ -14,6 +14,8 @@ COPY service /etc/service
|
||||
COPY runit_bootstrap /usr/sbin/runit_bootstrap
|
||||
COPY rsyslog.conf /etc/rsyslog.conf
|
||||
|
||||
RUN ln -sf /dev/stdout /var/log/mail.log
|
||||
|
||||
STOPSIGNAL SIGKILL
|
||||
|
||||
ENTRYPOINT ["/usr/sbin/runit_bootstrap"]
|
||||
|
||||
@@ -81,4 +81,3 @@ if [[ ! -z "$SASL_AUTH" ]]; then
|
||||
fi
|
||||
|
||||
/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
Reference in New Issue
Block a user