diff --git a/net/tor/files/tor.init b/net/tor/files/tor.init index 6944e8868..daa329c3c 100644 --- a/net/tor/files/tor.init +++ b/net/tor/files/tor.init @@ -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 }