Fixed upstart forking

Upstart can't track daemonize fork without expect fork
This commit is contained in:
Rabit 2016-09-11 01:15:22 +04:00 committed by GitHub
parent 63edc60753
commit 516380f979

2
debian/i2pd.upstart vendored
View File

@ -6,4 +6,6 @@ stop on runlevel [016] or unmounting-filesystem
# these can be overridden in /etc/init/i2pd.override
env LOGFILE="/var/log/i2pd.log"
expect fork
exec /usr/sbin/i2pd --daemon --service --log=file --logfile=$LOGFILE