utilise le mode « threaded » pour le serveur d'application Django
This commit is contained in:
parent
6f905aef95
commit
78971e9dd3
2
init.d
2
init.d
|
@ -21,7 +21,7 @@
|
||||||
prog=logement
|
prog=logement
|
||||||
pidfile=${PIDFILE-/var/run/logement/pid}
|
pidfile=${PIDFILE-/var/run/logement/pid}
|
||||||
etc=/etc/logement/
|
etc=/etc/logement/
|
||||||
logement="PYTHONPATH=$etc /home/logement/virtualenv/bin/python /home/logement/src/logement-prod runfcgi host=localhost port=8000 pidfile=$pidfile"
|
logement="PYTHONPATH=$etc /home/logement/virtualenv/bin/python /home/logement/src/logement-prod runfcgi host=localhost port=8000 method=threaded pidfile=$pidfile"
|
||||||
SLEEPMSEC=100000
|
SLEEPMSEC=100000
|
||||||
RETVAL=0
|
RETVAL=0
|
||||||
|
|
||||||
|
|
Reference in New Issue