Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- description "Gunicorn application server running myproject"
- start on runlevel [2345]
- stop on runlevel [!2345]
- respawn
- setuid user
- setgid www-data
- env PATH=/home/user/myproject/myprojectenv/bin
- chdir /home/user/myproject
- exec gunicorn --workers 3 --bind unix:myproject.sock -m 007 wsgi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement