diff --git a/postfix/Dockerfile b/postfix/Dockerfile index 054532e..a713347 100644 --- a/postfix/Dockerfile +++ b/postfix/Dockerfile @@ -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"] diff --git a/postfix/service/postfix/run b/postfix/service/postfix/run index eeb1411..dd98514 100755 --- a/postfix/service/postfix/run +++ b/postfix/service/postfix/run @@ -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 diff --git a/postfix/service/postfix/supervise/.gitignore b/postfix/service/postfix/supervise/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/postfix/service/rsyslog/supervise/.gitignore b/postfix/service/rsyslog/supervise/.gitignore new file mode 100644 index 0000000..e69de29