[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:
parent
1f0be8664b
commit
67347f7806
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue