summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2010-12-10 19:11:51 +0000
committerChristian Pointner <equinox@spreadspace.org>2010-12-10 19:11:51 +0000
commitba8f541c5f228bf84b39a0a4ed49c7671944360e (patch)
tree690cd0fb7863b00fa37e8e3d5a6420446d6bfd75 /contrib
parentupdated default buffer size (10k vs. 1k) (diff)
updated initscript (sig-hup -> reload)
git-svn-id: https://svn.spreadspace.org/tcpproxy/trunk@49 e61f0598-a718-4e21-a8f0-0aadfa62ad6b
Diffstat (limited to 'contrib')
-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 "."