diff options
Diffstat (limited to 'centos/sources')
-rw-r--r-- | centos/sources/rspamd.init | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/centos/sources/rspamd.init b/centos/sources/rspamd.init index 633ed36be..ee3365b31 100644 --- a/centos/sources/rspamd.init +++ b/centos/sources/rspamd.init @@ -111,6 +111,13 @@ case "$1" in restart|configtest) $1 ;; + reload) + rh_status_q || exit 7 + $1 + ;; + force-reload) + force_reload + ;; status) rh_status ;; @@ -119,6 +126,6 @@ case "$1" in restart ;; *) - echo $"Usage: $0 {start|stop|status|restart|condrestart|try-restart|configtest}" + echo $"Usage: $0 {start|stop|status|restart|condrestart|try-restart|reload|force-reload|configtest}" exit 2 esac |