diff --git a/debian/control b/debian/control index 5dec48ea3108c9423bd8ac457b634595bdea4167..77a762a5d94eef93d1ed08be68f44efb90d17d0e 100644 --- a/debian/control +++ b/debian/control @@ -1,5 +1,5 @@ Source: i2p -Maintainer: i2p +Maintainer: Hungry Hobo <HungryHobo@i2pmail.org> Section: net Priority: optional Homepage: http://www.i2p2.de/ diff --git a/debian/scripts/init b/debian/scripts/init index 544018ac64801a887dbc177fb3b2239e6a0aac91..e877bfd8a852f8cefa1ef8a2e17510e482fa40eb 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 diff --git a/debian/scripts/postrm b/debian/scripts/postrm index 5cc0f518a3a1e9c0a1760134a10a4dd7b72325d2..38a4170ab1636e7ef9ba9fd9f06bf221305205f4 100755 --- a/debian/scripts/postrm +++ b/debian/scripts/postrm @@ -1,5 +1,8 @@ #!/bin/sh +# /etc/rc*.d/*i2p files +update-rc.d -f i2p remove + I2PUSER=i2psvc # delete $I2PUSER if it exists (it will not if this is a purge after a remove) id $I2PUSER 2>/dev/null diff --git a/debian/scripts/prerm b/debian/scripts/prerm index 3a88e95163f771b5f0ae0957ef99c17137a98f29..5a7e5ab5d01b722034be7fb65e4ba1587761b808 100755 --- a/debian/scripts/prerm +++ b/debian/scripts/prerm @@ -2,10 +2,8 @@ /etc/init.d/i2p stop # stuff in /tmp -rm -f /tmp/wrapper.log /tmp/wrapper.log.1 /tmp/wrapper.log.2 /tmp/i2p.pid /tmp/routerjvm.pid /tmp/router.ping - -# /etc/rc*.d/*i2p files -update-rc.d -f i2p remove +TMPDIR=/tmp +rm -f ${TMPDIR}/wrapper.log ${TMPDIR}/wrapper.log.1 ${TMPDIR}/wrapper.log.2 ${TMPDIR}/i2p.pid ${TMPDIR}/routerjvm.pid ${TMPDIR}/router.ping # dpkg doesn't know about these files, they were copied out of jbigi.jar by the router LIB=/usr/lib/i2p diff --git a/installer/resources/runplain.sh b/installer/resources/runplain.sh index 644bdadcf9bfc02bc6bea03a86f7d13e5803e1f6..eaf2d297e06af0a3d362301122cd0505f51d6a40 100644 --- a/installer/resources/runplain.sh +++ b/installer/resources/runplain.sh @@ -1,4 +1,5 @@ -# +#!/bin/sh + # This runs the router by itself, WITHOUT the wrapper. # This means the router will not restart if it crashes. # Also, you will be using the default memory size, which is