mailcow/data/Dockerfiles/postfix/postfix.sh

13 lines
251 B
Bash
Raw Normal View History

2016-12-10 03:39:02 +08:00
#!/bin/bash
# http://superuser.com/questions/168412/using-supervisord-to-control-the-postfix-mta
trap "postfix stop" SIGINT
trap "postfix stop" SIGTERM
trap "postfix reload" SIGHUP
# start postfix
postfix -c /opt/postfix/conf start
sleep infinity