[email_account] postfix reload after config change

Use invoke-rc.d postfix reload instead of invoke-rc.d postfix restart
This commit is contained in:
Thomas Preud'homme 2010-01-20 15:01:31 +01:00 committed by Thomas Preud'homme
parent 1f0be8664b
commit 67347f7806
1 changed files with 2 additions and 2 deletions

View File

@ -341,10 +341,10 @@ restore_cyrus_state ()
echo "Restarting cyrus failed"
exit 1
fi
invoke-rc.d --quiet postfix restart
invoke-rc.d --quiet postfix reload
if [ ! $? -eq 0 ]
then
echo "Restarting postfix failed"
echo "Reloading postfix failed"
exit 1
fi
}