Skip to content

arthurfurlan/gunicorn_django-initscript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Arthur Furlan
May 23, 2012
c8e98a5 · May 23, 2012

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IMPORTANT! This script is not needed anymore, I've sent a patch to
the original Debian's Package and it was accepted and implemented.
From now on, you can find this same features at the default Debian
Package of gunicorn as you can see below:
http://lists.debian.org/debian-backports-changes/2011/09/msg00280.html



Debian initscript for gunicorn_django.

 1. Save the files under the same structure of this repository:
    - /etc/init.d/gunicorn_django
    - /etc/default/gunicorn_django

 2. Configure the default settings files:
    - /etc/default/gunicorn_django

 3. Configure your projects settings files:
    - /etc/default/gunicorn_django-PROJ1
    - /etc/default/gunicorn_django-PROJ2

 4. Manage the daemons:
    - /etc/init.d/gunicorn_django start [ PROJ1 [ PROJ2 [ ... ] ] ]
    - /etc/init.d/gunicorn_django stop [ PROJ1 [ PROJ2 [ ... ] ] ]
    - /etc/init.d/gunicorn_django restart [ PROJ1 [ PROJ2 [ ... ] ] ]