move pid file to data

This commit is contained in:
j 2016-01-18 13:04:29 +05:30
parent a4de5127dc
commit 25ce4c03e1

3
ctl
View file

@ -26,6 +26,9 @@ if [ -e "$DATA/tor/hostname" ]; then
PID="/tmp/$NAME.$USER.$id.pid"
fi
fi
if [ ! -e $PID ]; then
PID="$DATA/$NAME.pid"
fi
if [ -e "$BASE/local_platform" ]; then
export PLATFORM_ENV="$BASE/local_platform"