Created
March 18, 2017 18:49
-
-
Save EKami/1d2ad5b69896daa9bfe688c9d583dd16 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
####################################################### | |
#! /bin/sh | |
# . /etc/rc.d/init.d/functions # uncomment/modify for your killproc | |
case "$1" in | |
start) | |
echo "Starting noip2." | |
/usr/local/bin/noip2 | |
;; | |
stop) | |
echo -n "Shutting down noip2." | |
killproc -TERM /usr/local/bin/noip2 | |
;; | |
*) | |
echo "Usage: $0 {start|stop}" | |
exit 1 | |
esac | |
exit 0 | |
####################################################### |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment