2016-12-09 20:39:02 +01: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
|
|
|
|
|
2016-12-10 21:49:41 +01:00
|
|
|
sleep infinity
|