Skip to content

Instantly share code, notes, and snippets.

@Htbaa
Created December 5, 2012 16:48
Show Gist options
  • Save Htbaa/4217311 to your computer and use it in GitHub Desktop.
Save Htbaa/4217311 to your computer and use it in GitHub Desktop.
#!/bin/sh
### BEGIN INIT INFO
# Provides: Maximus
# Required-Start: $syslog $network
# Required-Stop: $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Maximus script
# Description: Maximus script
### END INIT INFO`
if [ -x /home/christiaan/initscripts/maximus ];
then
/home/christiaan/initscripts/maximus $1
else
echo "Required program /home/christiaan/initscripts/maximus not found!"
exit 1;
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment