From 869af99b494d89e6d100657db4d5430cc6539f51 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Thu, 28 Jan 2016 15:12:37 +0000 Subject: Disable reload command in rc scripts --- centos/sources/rspamd.init | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'centos') diff --git a/centos/sources/rspamd.init b/centos/sources/rspamd.init index ee3365b31..633ed36be 100644 --- a/centos/sources/rspamd.init +++ b/centos/sources/rspamd.init @@ -111,13 +111,6 @@ case "$1" in restart|configtest) $1 ;; - reload) - rh_status_q || exit 7 - $1 - ;; - force-reload) - force_reload - ;; status) rh_status ;; @@ -126,6 +119,6 @@ case "$1" in restart ;; *) - echo $"Usage: $0 {start|stop|status|restart|condrestart|try-restart|reload|force-reload|configtest}" + echo $"Usage: $0 {start|stop|status|restart|condrestart|try-restart|configtest}" exit 2 esac -- cgit v1.2.3