* 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:
4
debian/scripts/init
vendored
4
debian/scripts/init
vendored
@ -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
|
||||
|
Reference in New Issue
Block a user