Skip to content

Instantly share code, notes, and snippets.

@jlgreer
Created April 19, 2011 16:28
Show Gist options
  • Save jlgreer/928687 to your computer and use it in GitHub Desktop.
Save jlgreer/928687 to your computer and use it in GitHub Desktop.
Init script for chkconfig tests
[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