summaryrefslogtreecommitdiff
path: root/tor.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'tor.sh.in')
-rw-r--r--tor.sh.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/tor.sh.in b/tor.sh.in
index 37e338f4d2..b47d82ae87 100644
--- a/tor.sh.in
+++ b/tor.sh.in
@@ -1,9 +1,10 @@
-#! /bin/sh
+#!/bin/sh
TORBIN=@BINDIR@/tor
TORPID=@LOCALSTATEDIR@/run/tor.pid
TORLOG=@LOCALSTATEDIR@/log/tor/tor.log
TORCONF=@CONFDIR@/torrc
+TORARGS="-l warn"
RETVAL=0
case "$1" in
@@ -15,7 +16,7 @@ case "$1" in
RETVAL=1
else
echo -n "Starting tor..."
- $TORBIN -f $TORCONF -l warning >$TORLOG 2>&1 &
+ $TORBIN -f $TORCONF $TORARGS >$TORLOG 2>&1 &
RETVAL=$?
if [ $RETVAL -eq 0 ]; then
echo " ok"