[enh] first stop rspamd.service, then start rspamd.socket

This commit is contained in:
Julien Malik 2016-03-08 15:31:18 +01:00
parent a072d4109e
commit 81fde7482d

View file

@ -25,7 +25,7 @@ sudo chmod 660 /etc/dovecot/global_script/rspamd.svbin
sudo chown -R vmail:mail /etc/dovecot/global_script sudo chown -R vmail:mail /etc/dovecot/global_script
# Ensure that the socket is listening and stop the service. # Ensure that the socket is listening and stop the service.
sudo systemctl start rspamd.socket
sudo systemctl stop rspamd.service 2>&1 || true sudo systemctl stop rspamd.service 2>&1 || true
sudo systemctl start rspamd.socket
sudo systemctl restart dovecot sudo systemctl restart dovecot