diff options
author | Roger Dingledine <arma@torproject.org> | 2003-10-16 22:10:48 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2003-10-16 22:10:48 +0000 |
commit | 25b0c92f0fd34905bf9c51c7d658b88865fd3000 (patch) | |
tree | b77e3aa25b7f4a519f965d4a107ee700897341f9 /tor.sh.in | |
parent | 5aec141c4899b2cf151cc57d0db0888613d1d7bf (diff) | |
download | tor-25b0c92f0fd34905bf9c51c7d658b88865fd3000.tar.gz tor-25b0c92f0fd34905bf9c51c7d658b88865fd3000.zip |
patch from aaron to abstract into $TORARGS
svn:r609
Diffstat (limited to 'tor.sh.in')
-rw-r--r-- | tor.sh.in | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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" |