I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 60204fef authored by kytv's avatar kytv
Browse files

Debian: initscript: Don't spew warnings when chown'ing files that don't yet exist

parent 45064ec3
No related branches found
No related tags found
No related merge requests found
......@@ -78,7 +78,7 @@ do_start()
[ -r $PIDFILE ] || touch $PIDFILE
[ -r $JVMPIDFILE ] || touch $JVMPIDFILE
[ -d $I2PTEMP ] || mkdir $I2PTEMP
chown -Rf $I2PUSER:$I2PUSER $I2PTEMP/*i2p* $I2PTEMP/router.ping $RUN > /dev/null
chown -Rf $I2PUSER:$I2PUSER $I2PTEMP/*i2p* $I2PTEMP/router.ping $RUN > /dev/null 2>&1
chown -f -R $I2PUSER:adm /var/log/$NAME
TZ=UTC start-stop-daemon --start --quiet -c $I2PUSER --pidfile $PIDFILE --exec $DAEMON $NICE -- \
$I2P_ARGS || return 2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment