summaryrefslogtreecommitdiff
path: root/debian/tor.init
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2004-11-10 03:42:06 +0000
committerPeter Palfrader <peter@palfrader.org>2004-11-10 03:42:06 +0000
commite5fd4c026c0104688c11ff94f510778aa5965712 (patch)
treec8949d8739ba0e5bf7fb982ed0ff1ca6b4496fd5 /debian/tor.init
parent1013abd27f35d58d3beb45741d2791f5ddca9acb (diff)
downloadtor-e5fd4c026c0104688c11ff94f510778aa5965712.tar.gz
tor-e5fd4c026c0104688c11ff94f510778aa5965712.zip
No longer use --pidfile, --logfile, and --runasdaemon command line options. Set them in the configfile instead.
svn:r2779
Diffstat (limited to 'debian/tor.init')
-rw-r--r--debian/tor.init3
1 files changed, 1 insertions, 2 deletions
diff --git a/debian/tor.init b/debian/tor.init
index 640a5e88c8..dcbbe094d1 100644
--- a/debian/tor.init
+++ b/debian/tor.init
@@ -6,11 +6,10 @@ PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/usr/sbin/tor
NAME=tor
DESC="tor daemon"
-TORLOG=/var/log/tor/log
TORPID=/var/run/tor/tor.pid
DEFAULTSFILE=/etc/default/$NAME
WAITFORDAEMON=10
-ARGS="--pidfile $TORPID --logfile $TORLOG --runasdaemon 1"
+ARGS=""
test -x $DAEMON || exit 0