From: Andrew Lewis Date: Thu, 12 Mar 2015 13:28:25 +0000 (+0200) Subject: Fix condrestart in CentOS init script X-Git-Tag: 0.8.3~12^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F213%2Fhead;p=thirdparty%2Frspamd.git Fix condrestart in CentOS init script --- diff --git a/centos/sources/rspamd.init b/centos/sources/rspamd.init index ad9fc5d2eb..ffc7020b6b 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}"