diff --git a/init.d b/init.d index 5c346d4..cafde89 100755 --- a/init.d +++ b/init.d @@ -28,7 +28,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 \