From ba8f541c5f228bf84b39a0a4ed49c7671944360e Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Fri, 10 Dec 2010 19:11:51 +0000 Subject: updated initscript (sig-hup -> reload) git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@49 e61f0598-a718-4e21-a8f0-0aadfa62ad6b --- contrib/initscript | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'contrib') 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 "." -- cgit v1.2.3