Skip to content

Instantly share code, notes, and snippets.

@flores
Created July 12, 2011 00:53
Show Gist options
  • Save flores/1077148 to your computer and use it in GitHub Desktop.
Save flores/1077148 to your computer and use it in GitHub Desktop.
SERVICE=`basename $0`
COMMAND=$1
if [ -z "$SERVICE"] || [ -z "$COMMAND"]; then
echo "usage: `basename $0` <restart|stop|start|status>"
fi
echo "/var/lib/gems/1.8/bin/god $COMMAND $SERVICE"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment