Created
March 18, 2017 19:59
-
-
Save EKami/a79c8fe1e0f1d89cb32d678f1d2faca1 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