summaryrefslogtreecommitdiff
path: root/debian/tor.init
diff options
context:
space:
mode:
Diffstat (limited to 'debian/tor.init')
-rw-r--r--debian/tor.init4
1 files changed, 2 insertions, 2 deletions
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."