Skip to content

Instantly share code, notes, and snippets.

@robdaemon
Created September 8, 2016 04:20
Show Gist options
  • Save robdaemon/2cefd0de151adae9deb7067e4f0ae267 to your computer and use it in GitHub Desktop.
Save robdaemon/2cefd0de151adae9deb7067e4f0ae267 to your computer and use it in GitHub Desktop.
Upstart script for Gemstash
# Upstart script for Gemstash
respawn
respawn limit 15 5
start on runlevel [2345]
stop on runlevel [06]
script
su - gemstash -c "/usr/local/bin/gemstash start --no-daemonize"
end script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment