Last active
July 28, 2016 01:14
-
-
Save gilchris/09d4ec6f0293074f92973659eec9f37f to your computer and use it in GitHub Desktop.
ShellScript Skeleton for service start and stop
This file contains hidden or 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 | |
case "$1" in | |
start) | |
;; | |
stop) | |
;; | |
restart) | |
$0 stop | |
$0 start | |
exit $? | |
;; | |
*) | |
echo "Usage: $0 {start|stop|restart}" | |
esac | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment