Skip to content

Instantly share code, notes, and snippets.

@EKami
Created March 18, 2017 18:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EKami/1d2ad5b69896daa9bfe688c9d583dd16 to your computer and use it in GitHub Desktop.
Save EKami/1d2ad5b69896daa9bfe688c9d583dd16 to your computer and use it in GitHub Desktop.
#######################################################
#! /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