aboutsummaryrefslogtreecommitdiffstats
path: root/centos
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-28 15:12:37 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2016-01-28 15:12:37 +0000
commit869af99b494d89e6d100657db4d5430cc6539f51 (patch)
tree64f46cea72616d60db389b1a42d62fbb1d9b7e5e /centos
parent84dee1fa312a90488de799712b5640bd5942a60b (diff)
downloadrspamd-869af99b494d89e6d100657db4d5430cc6539f51.tar.gz
rspamd-869af99b494d89e6d100657db4d5430cc6539f51.zip
Disable reload command in rc scripts
Diffstat (limited to 'centos')
-rw-r--r--centos/sources/rspamd.init9
1 files changed, 1 insertions, 8 deletions
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