update postfix run script
This commit is contained in:
parent
f5b5fa5039
commit
fc3a549ef8
@ -2,6 +2,9 @@ FROM thallian/confd-env:latest
|
||||
|
||||
RUN apk add --no-cache postfix postfix-ldap
|
||||
|
||||
RUN chown root /var/spool/postfix/
|
||||
RUN chown root /var/spool/postfix/pid
|
||||
|
||||
EXPOSE 25 587
|
||||
|
||||
VOLUME /etc/ssl/mail
|
||||
|
@ -1,9 +1,4 @@
|
||||
#!/usr/bin/with-contenv sh
|
||||
|
||||
trap "postfix stop" SIGINT
|
||||
trap "postfix stop" SIGTERM
|
||||
trap "postfix reload" SIGHUP
|
||||
exec /usr/lib/postfix/master -d
|
||||
|
||||
#postfix start
|
||||
#sleep 20
|
||||
#tail -f /var/log/mail.log
|
||||
|
Loading…
Reference in New Issue
Block a user