Created
February 14, 2016 04:35
-
-
Save MauricioDinki/01b79796478693576e12 to your computer and use it in GitHub Desktop.
Service to run gunicorn as a service
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 "Gunicorn daemon for Django project" | |
start on (local-filesystems and net-device-up IFACE=eth0) | |
stop on runlevel [!12345] | |
script | |
/home/django/pinchefv2/deploy/gunicorn_start | |
end script |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment