-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathREADME
25 lines (18 loc) · 925 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
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 [ ... ] ] ]