Skip to content

Instantly share code, notes, and snippets.

@MauricioDinki
Created February 14, 2016 04:35
Show Gist options
  • Save MauricioDinki/01b79796478693576e12 to your computer and use it in GitHub Desktop.
Save MauricioDinki/01b79796478693576e12 to your computer and use it in GitHub Desktop.
Service to run gunicorn as a service
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