summaryrefslogtreecommitdiff
path: root/debian/tor.init
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2005-02-02 06:49:07 +0000
committerPeter Palfrader <peter@palfrader.org>2005-02-02 06:49:07 +0000
commit0133411df97ec2edbc795abe8fd207e92d59b596 (patch)
tree6391f69195c45d59988d33b890f2cf97722b9e1d /debian/tor.init
parentf575d29a5966689de5e75c05968da4b52ea9de51 (diff)
downloadtor-0133411df97ec2edbc795abe8fd207e92d59b596.tar.gz
tor-0133411df97ec2edbc795abe8fd207e92d59b596.zip
Use SIGINT to shutdown tor
svn:r3504
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."