Fixed Postgrey re-startup by reoving pid file, suggested by @Sharsie (#658)

Fixes #649
This commit is contained in:
Thomas VIAL 2017-07-20 10:59:41 +02:00 committed by GitHub
parent dbf65789f2
commit 88e3d88de1

View file

@ -1197,6 +1197,7 @@ function _start_daemons_clamav() {
function _start_daemons_postgrey() { function _start_daemons_postgrey() {
notify 'task' 'Starting postgrey' 'n' notify 'task' 'Starting postgrey' 'n'
rm -f /var/run/postgrey/postgrey.pid
display_startup_daemon "/etc/init.d/postgrey start" display_startup_daemon "/etc/init.d/postgrey start"
} }