Added command scripts for osx to install i2p as a daemon in launchd.

.command extension make it possible to double click on it like bat files
in windows. Daemon is runned as the user who executes the command file.
This commit is contained in:
meeh
2012-09-05 21:36:24 +00:00
parent 9fd2f1e6a7
commit 5056706742
6 changed files with 81 additions and 0 deletions

View File

@@ -137,6 +137,9 @@
<parsable targetfile="$INSTALL_PATH/eepget.bat" type="shell" os="windows" />
<parsable targetfile="$INSTALL_PATH/runplain.sh" type="shell"> <os family="unix" /> </parsable>
<parsable targetfile="$INSTALL_PATH/Start I2P Router.app/Contents/MacOS/i2prouter" type="shell" os="mac" />
<parsable targetfile="$INSTALL_PATH/net.i2p.router.plist.template" type="shell" os="mac" />
<parsable targetfile="$INSTALL_PATH/install_i2p_service_osx.command" type="shell" os="mac" />
<parsable targetfile="$INSTALL_PATH/uninstall_i2p_service_osx.command" type="shell" os="mac" />
<conditions>
<condition type="variable" id="is64bit">
@@ -186,6 +189,12 @@
<args><arg value="$INSTALL_PATH\eepget" /></args></executable>
<executable targetfile="$INSTALL_PATH/installer/delete.jar" type="jar" stage="postinstall" keep="true" failure="warn"> <os family="windows" />
<args><arg value="$INSTALL_PATH/Start I2P Router.app" /></args></executable>
<executable targetfile="$INSTALL_PATH/installer/delete.jar" type="jar" stage="postinstall" keep="true" failure="warn"> <os family="windows" />
<args><arg value="$INSTALL_PATH/net.i2p.router.plist" /></args></executable>
<executable targetfile="$INSTALL_PATH/installer/delete.jar" type="jar" stage="postinstall" keep="true" failure="warn"> <os family="windows" />
<args><arg value="$INSTALL_PATH/install_i2p_service_osx.command" /></args></executable>
<executable targetfile="$INSTALL_PATH/installer/delete.jar" type="jar" stage="postinstall" keep="true" failure="warn"> <os family="windows" />
<args><arg value="$INSTALL_PATH/uninstall_i2p_service_osx.command" /></args></executable>
<executable targetfile="$INSTALL_PATH/installer/delete.jar" type="jar" stage="postinstall" keep="true" failure="warn"> <os family="windows" />
<args><arg value="$INSTALL_PATH/man" /></args></executable>
<executable targetfile="$INSTALL_PATH/installer/delete.jar" type="jar" stage="postinstall" keep="true" failure="warn"> <os family="windows" />