Moved reopening of log to SIGUSR1 (16)

Added --pidfile option to init.d script
This commit is contained in:
r4sas 2017-01-29 17:08:36 +03:00
parent 2d46cb072e
commit f722b3e9cb
2 changed files with 19 additions and 15 deletions

2
debian/i2pd.init vendored
View file

@ -53,7 +53,7 @@ do_start()
|| return 1
start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --chuid "$USER" -- \
--service --daemon --log=file --logfile=$LOGFILE --conf=$I2PCONF --tunconf=$TUNCONF \
$DAEMON_OPTS > /dev/null 2>&1 \
--pidfile=$PIDFILE $DAEMON_OPTS > /dev/null 2>&1 \
|| return 2
return $?
}