Created
May 20, 2014 23:18
-
-
Save sdrew/8e200bad0ce625f64c6d to your computer and use it in GitHub Desktop.
Upstart script for Go service
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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