refresh patch to work with the recent changes to i2prouter

This commit is contained in:
kytv
2011-06-21 23:43:04 +00:00
parent dfd36070eb
commit c1c21e55b4

View File

@ -34,7 +34,7 @@ Debian wrapper.config to try to prevent confusion.
# PORTABLE installation: # PORTABLE installation:
# Use the following instead. # Use the following instead.
#I2PTEMP="%INSTALL_PATH" #I2PTEMP="%INSTALL_PATH"
@@ -33,8 +33,8 @@ @@ -35,8 +35,8 @@
APP_LONG_NAME="I2P Service" APP_LONG_NAME="I2P Service"
# Wrapper # Wrapper
@ -43,8 +43,8 @@ Debian wrapper.config to try to prevent confusion.
+WRAPPER_CMD="/usr/sbin/wrapper" +WRAPPER_CMD="/usr/sbin/wrapper"
+WRAPPER_CONF="/etc/i2p/wrapper.config" +WRAPPER_CONF="/etc/i2p/wrapper.config"
# Priority at which to run the wrapper. See "man nice" for valid priorities. unsupported() {
# nice is only used if a priority is specified. echo "The most likely reason is that a supported version of the java"
--- a/installer/resources/runplain.sh --- a/installer/resources/runplain.sh
+++ b/installer/resources/runplain.sh +++ b/installer/resources/runplain.sh
@@ -11,8 +11,8 @@ @@ -11,8 +11,8 @@
@ -173,6 +173,6 @@ Debian wrapper.config to try to prevent confusion.
-wrapper.ntservice.starttype=AUTO_START -wrapper.ntservice.starttype=AUTO_START
- -
-# Allow the service to interact with the desktop. -# Allow the service to interact with the desktop.
-wrapper.ntservice.interactive=true -wrapper.ntservice.interactive=false
- -
+wrapper.pidfile=/tmp/i2p.pid +wrapper.pidfile=/tmp/i2p.pid