mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 04:16:45 +01:00
[postfix] expose logs by linking to STDOUT (#440)
This commit is contained in:
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
Loading…
Reference in New Issue
Block a user