Created
January 11, 2016 14:44
-
-
Save shavit/4d791532050ead8f7be5 to your computer and use it in GitHub Desktop.
Run Go Revel app in production as a 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
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