Created
May 11, 2015 15:14
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
description "hello_phoenix" | |
## Uncomment the following two lines to run the | |
## application as www-data:www-data | |
#setuid www-data | |
#setgid www-data | |
start on runlevel [2345] | |
stop on runlevel [016] | |
expect stop | |
respawn | |
env MIX_ENV=prod | |
env PORT=8888 | |
export MIX_ENV | |
export PORT | |
pre-start exec /bin/sh /app/bin/hello_phoenix start | |
post-stop exec /bin/sh /app/bin/hello_phoenix stop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment