mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
patch from aaron to abstract into $TORARGS
svn:r609
This commit is contained in:
parent
5aec141c48
commit
25b0c92f0f
@ -4,6 +4,7 @@ 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"
|
||||
|
Loading…
Reference in New Issue
Block a user