Fix tor pid file permission (#3834)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@12621 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
dc69dee3a4
commit
07eaf99777
@ -16,6 +16,7 @@ start() {
|
||||
[ -d $LIB_D ] || mkdir -p $LOG_D
|
||||
[ -d $LIB_D ] || ( mkdir -p $LIB_D && chown $RUN_USER:$RUN_GROUP $LIB_D )
|
||||
[ -d $RUN_D ] || mkdir -p $RUN_D
|
||||
[ -f $PID_F ] || ( touch $PID_F && chown $RUN_USER:$RUN_GROUP $PID_F )
|
||||
$BIN $OPTIONS
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user