Skip to content

Instantly share code, notes, and snippets.

@sdrew
Created May 20, 2014 23:18

Revisions

  1. sdrew created this gist May 20, 2014.
    8 changes: 8 additions & 0 deletions golang-upstart.conf
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    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