Skip to content

Instantly share code, notes, and snippets.

@sdrew
Created May 20, 2014 23:18
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sdrew/8e200bad0ce625f64c6d to your computer and use it in GitHub Desktop.
Save sdrew/8e200bad0ce625f64c6d to your computer and use it in GitHub Desktop.
Upstart script for Go service
description "Description goes here"
author "Your Name"
start on (local-filesystems and net-device-up)
stop on runlevel [!2345]
respawn
exec /path/to/compiled/binary -flag value -flag2 value2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment