Created
April 19, 2011 16:28
-
-
Save jlgreer/928687 to your computer and use it in GitHub Desktop.
Init script for chkconfig tests
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
[root@annyong init.d]# cat jgtest | |
#!/bin/sh | |
# chkconfig: 2345 55 25 | |
# description: Sendmail | |
# This file is under cfengine control. It lives on mrfrumble. | |
case "$1" in | |
start) | |
echo "Starting jgtest" | |
;; | |
stop) | |
echo "Stopping jgtest" | |
;; | |
*) | |
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