In case of mounting /var/spool/postfix, delete master.pid first
This commit is contained in:
parent
3127691529
commit
292d1c46c0
1 changed files with 5 additions and 1 deletions
6
run.sh
6
run.sh
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue