Ticket #3834: tor-owned-pid.patch

File tor-owned-pid.patch, 442 bytes (added by anonymous, 9 years ago)

Diff made in packages

  • net/tor/files/tor.init

     
    1616        [ -d $LIB_D ] || mkdir -p $LOG_D 
    1717        [ -d $LIB_D ] || ( mkdir -p $LIB_D && chown $RUN_USER:$RUN_GROUP $LIB_D ) 
    1818        [ -d $RUN_D ] || mkdir -p $RUN_D 
     19        [ -f $PID_F ] || ( touch $PID_F && chown $RUN_USER:$RUN_GROUP $PID_F ) 
    1920        $BIN $OPTIONS 
    2021} 
    2122