diff --git a/init.d b/init.d index 618259d..1fdd237 100755 --- a/init.d +++ b/init.d @@ -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 \