In case of mounting /var/spool/postfix, delete master.pid first

This commit is contained in:
Juan Luis Baptiste 2019-10-23 17:20:20 -05:00
parent 3127691529
commit 292d1c46c0

6
run.sh
View file

@ -64,6 +64,10 @@ if [ ! -z "${SMTP_NETWORKS}" ]; then
fi
add_config_value "mynetworks" "${nets}"
#Start services
# If host mounting /var/spool/postfix, we need to delete old pid file before
# starting services
rm -f /var/spool/postfix/pid/master.pid
supervisord