summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcontrib/initscript7
1 files changed, 6 insertions, 1 deletions
diff --git a/contrib/initscript b/contrib/initscript
index 75c9627..6211b96 100755
--- a/contrib/initscript
+++ b/contrib/initscript
@@ -35,7 +35,12 @@ case "$1" in
start-stop-daemon --stop --quiet --pidfile $PIDFILE --exec $DAEMON && echo -n " $NAME"
echo "."
;;
- reload|force-reload|restart)
+ reload|force-reload)
+ echo -n "Reloading configuration of $DESC:"
+ start-stop-daemon --stop --quiet --pidfile $PIDFILE --signal 1 --exec $DAEMON && echo -n " $NAME"
+ echo "."
+ ;;
+ restart)
echo -n "Stopping $DESC"
start-stop-daemon --stop --quiet --pidfile $PIDFILE --exec $DAEMON && echo -n " $NAME"
echo "."