Example Upstart Configuration
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
start on runlevel [2345] | |
stop on runlevel [016] | |
respawn | |
setuid www-data | |
setgid www-data | |
env PORT=11000 | |
chdir /home/ditto/animeta | |
exec env/bin/gunicorn animeta.wsgi --bind 127.0.0.1:$PORT --error-logfile - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment