move pid file to data
This commit is contained in:
parent
a4de5127dc
commit
25ce4c03e1
1 changed files with 3 additions and 0 deletions
3
ctl
3
ctl
|
@ -26,6 +26,9 @@ if [ -e "$DATA/tor/hostname" ]; then
|
||||||
PID="/tmp/$NAME.$USER.$id.pid"
|
PID="/tmp/$NAME.$USER.$id.pid"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
if [ ! -e $PID ]; then
|
||||||
|
PID="$DATA/$NAME.pid"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -e "$BASE/local_platform" ]; then
|
if [ -e "$BASE/local_platform" ]; then
|
||||||
export PLATFORM_ENV="$BASE/local_platform"
|
export PLATFORM_ENV="$BASE/local_platform"
|
||||||
|
|
Loading…
Reference in a new issue