init.d: use unix socket

This commit is contained in:
Jérôme Schneider 2014-04-09 16:48:30 +02:00
parent aa215f0567
commit 6a1c405828
1 changed files with 1 additions and 1 deletions

2
init.d
View File

@ -27,7 +27,7 @@ DAEMON_ARGS="--pid $PIDFILE \
--daemon \
--access-logfile $LOG_DIR/gunicorn-access.log \
--log-file $LOG_DIR/gunicorn-error.log \
--bind=127.0.0.1:8022 \
--bind=unix:$PID_DIR/$NAME.sock \
--workers=5 \
--worker-class=sync \
--timeout=60 \