Skip to content

Instantly share code, notes, and snippets.

@EKami
Created March 18, 2017 19:59
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/a79c8fe1e0f1d89cb32d678f1d2faca1 to your computer and use it in GitHub Desktop.
Save EKami/a79c8fe1e0f1d89cb32d678f1d2faca1 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