From: Andrew Lewis Date: Thu, 12 Mar 2015 13:28:25 +0000 (+0200) Subject: Fix condrestart in CentOS init script X-Git-Tag: 0.9.0~511^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b85fb75b5ac606e32e597bae9df82452305c347e;p=rspamd.git Fix condrestart in CentOS init script --- diff --git a/centos/sources/rspamd.init b/centos/sources/rspamd.init index ad9fc5d2e..ffc7020b6 100644 --- a/centos/sources/rspamd.init +++ b/centos/sources/rspamd.init @@ -122,6 +122,7 @@ case "$1" in ;; condrestart|try-restart) rh_status_q || exit 0 + restart ;; *) echo $"Usage: $0 {start|stop|status|restart|condrestart|try-restart|reload|force-reload|configtest}"