We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9499be9 commit 74cc7bdCopy full SHA for 74cc7bd
1 file changed
run-gunicorn.sh
@@ -391,6 +391,11 @@ cmd+=(
391
--pid "${LOCK_FILE}" # Use lock file as PID file
392
)
393
394
+if gunicorn --help 2>/dev/null | grep -q -- "--no-control-socket"; then
395
+ cmd+=( --no-control-socket )
396
+ echo "🚫 Gunicorn control socket disabled for read-only container filesystem"
397
+fi
398
+
399
# Add developer mode flags if enabled
400
if [[ "${GUNICORN_DEV_MODE}" == "true" ]]; then
401
cmd+=( --reload --reload-extra-file gunicorn.config.py )
0 commit comments