Created
November 19, 2015 14:47
-
-
Save firstrow/d019dcf024ffb13b2cb4 to your computer and use it in GitHub Desktop.
golang app upstart
This file contains 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
# Upstart Configuration | |
description "Golang Web App" | |
start on (net-device-up | |
and local-filesystems | |
and runlevel [2345]) | |
stop on runlevel [016] | |
respawn | |
exec /path/to/http |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment