forked from I2P_Developers/i2p.i2p
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:
13
installer/resources/uninstall_i2p_service_osx.command
Normal file
13
installer/resources/uninstall_i2p_service_osx.command
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
# 2012, The I2P Project
|
||||
# http://www.i2p2.de/
|
||||
# This code is public domain.
|
||||
# Author: Meeh
|
||||
echo "Please enter your password for sudo privileges to uninstall I2P from launchd"
|
||||
sudo launchctl unload -w /Library/LaunchDaemons/net.i2p.router.plist
|
||||
if [ $? == 0 ]; then
|
||||
sudo rm -f /Library/LaunchDaemons/net.i2p.router.plist
|
||||
echo "I2P Router wrapper was successfully uninstalled from launchd."
|
||||
else
|
||||
echo "I2P Router wrapper was not uninstalled from launchd."
|
||||
fi
|
Reference in New Issue
Block a user