update postfix run script
This commit is contained in:
parent
c2856011cb
commit
02d52398dd
@ -1,6 +1,6 @@
|
|||||||
FROM thallian/confd-env:latest
|
FROM thallian/confd-env:latest
|
||||||
|
|
||||||
RUN apk add --no-cache postfix postfix-ldap bash
|
RUN apk add --no-cache postfix postfix-ldap
|
||||||
|
|
||||||
EXPOSE 25 587
|
EXPOSE 25 587
|
||||||
|
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
#!/usr/bin/with-contenv bash
|
#!/usr/bin/with-contenv sh
|
||||||
|
|
||||||
trap "postfix stop" SIGINT
|
trap "postfix stop" SIGINT
|
||||||
trap "postfix stop" SIGTERM
|
trap "postfix stop" SIGTERM
|
||||||
trap "postfix reload" SIGHUP
|
trap "postfix reload" SIGHUP
|
||||||
|
|
||||||
postfix start
|
postfix start
|
||||||
sleep infinity
|
sleep 20
|
||||||
|
tail -f /var/log/mail.log
|
||||||
|
Loading…
Reference in New Issue
Block a user