From fddf32a6ca452b6211c8e4a3df0e2f76ad7d9ba9 Mon Sep 17 00:00:00 2001
From: HungryHobo <HungryHobo@mail.i2p>
Date: Sat, 13 Nov 2010 00:28:30 +0000
Subject: [PATCH] * 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)

---
 debian/scripts/init | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/scripts/init b/debian/scripts/init
index 544018ac64..e877bfd8a8 100755
--- a/debian/scripts/init
+++ b/debian/scripts/init
@@ -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
-- 
GitLab