From 0133411df97ec2edbc795abe8fd207e92d59b596 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 2 Feb 2005 06:49:07 +0000 Subject: Use SIGINT to shutdown tor svn:r3504 --- debian/tor.init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'debian/tor.init') diff --git a/debian/tor.init b/debian/tor.init index 93fb375448..bd32a0dd09 100644 --- a/debian/tor.init +++ b/debian/tor.init @@ -8,7 +8,7 @@ NAME=tor DESC="tor daemon" TORPID=/var/run/tor/tor.pid DEFAULTSFILE=/etc/default/$NAME -WAITFORDAEMON=10 +WAITFORDAEMON=35 ARGS="" MAX_FILEDESCRIPTORS=4096 @@ -64,7 +64,7 @@ case "$1" in if test ! -f $TORPID -o -z "$pid" then echo "not running (there is no $TORPID)." - elif start-stop-daemon --stop --quiet --pidfile $TORPID --exec $DAEMON + elif start-stop-daemon --stop --signal INT --quiet --pidfile $TORPID --exec $DAEMON then wait_for_deaddaemon $pid echo "$NAME." -- cgit v1.2.3-54-g00ecf