Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Run Go Revel app in production as a service
start on runlevel [2345]
stop on runlevel [!2345]
respawn
env PORT=<APP-PORT>
setuid <APP-NAME>
chdir /<APP-PATH>
# run the application
# /<APP-PATH>/dist/run.sh
exec dist/run.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.