diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-01-28 15:12:37 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-01-28 15:12:37 +0000 |
commit | 869af99b494d89e6d100657db4d5430cc6539f51 (patch) | |
tree | 64f46cea72616d60db389b1a42d62fbb1d9b7e5e /debian/rspamd.init | |
parent | 84dee1fa312a90488de799712b5640bd5942a60b (diff) | |
download | rspamd-869af99b494d89e6d100657db4d5430cc6539f51.tar.gz rspamd-869af99b494d89e6d100657db4d5430cc6539f51.zip |
Disable reload command in rc scripts
Diffstat (limited to 'debian/rspamd.init')
-rw-r--r-- | debian/rspamd.init | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/debian/rspamd.init b/debian/rspamd.init index 1a270692e..784f0ac96 100644 --- a/debian/rspamd.init +++ b/debian/rspamd.init @@ -104,11 +104,6 @@ case "$1" in status) status_of_proc -p $PIDFILE "$DAEMON" "$NAME" || exit $? ;; - reload|force-reload) - log_daemon_msg "Reloading $DESC" "$NAME" - do_reload - log_end_msg $? - ;; reopenlog) log_daemon_msg "Reopen logs for $DESC" "$NAME" do_reopenlog @@ -133,7 +128,7 @@ case "$1" in esac ;; *) - echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload|reopenlog}" >&2 + echo "Usage: $SCRIPTNAME {start|stop|restart|reopenlog}" >&2 exit 3 ;; esac |