Skip to content

Instantly share code, notes, and snippets.

Created May 11, 2015 15:14
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