* Stop service at runlevels 0 and 6 (lintian: init.d-script-possible-missing-stop)

* Add force-reload option, same as restart (lintian: init.d-script-does-not-implement-required-option)
This commit is contained in:
HungryHobo
2010-11-13 00:28:30 +00:00
parent a07339e1ff
commit fddf32a6ca

4
debian/scripts/init vendored
View File

@ -5,7 +5,7 @@
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start:
# Default-Stop: 1 2 3 4 5
# Default-Stop: 0 1 2 3 4 5 6
# Short-Description: I2P anonymizing mixnet
### END INIT INFO
@ -39,7 +39,7 @@ case "$1" in
log_end_msg 1
fi
;;
restart)
restart|force-reload)
log_daemon_msg "Restarting I2P" "i2p"
if I2P restart; then
log_end_msg 0