fix
Some checks failed
Build Org Website / build (push) Failing after 49s

This commit is contained in:
2026-05-07 15:31:52 +01:00
parent 4f0b042f09
commit c6d21e0530
4 changed files with 10 additions and 6 deletions

View File

@@ -70,9 +70,13 @@ author-stop:
author-restart: $(VENV) author-stop
@echo "Starting authoring UI on port $(AUTHOR_PORT)..."
@mkdir -p /home/zaine/logs
@start-stop-daemon --start --background --make-pidfile --pidfile "$(AUTHOR_PID)" \
--chdir "$(CURDIR)" --startas "$(CURDIR)/$(PY)" -- \
authoring_server.py > "$(AUTHOR_LOG)" 2>&1
@if command -v start-stop-daemon >/dev/null 2>&1; then \
start-stop-daemon --start --background --make-pidfile --pidfile "$(AUTHOR_PID)" \
--chdir "$(CURDIR)" --startas "$(CURDIR)/$(PY)" -- \
authoring_server.py > "$(AUTHOR_LOG)" 2>&1; \
else \
cd "$(CURDIR)" && { nohup "$(CURDIR)/$(PY)" authoring_server.py > "$(AUTHOR_LOG)" 2>&1 & echo $$! > "$(AUTHOR_PID)"; }; \
fi
@echo "Waiting for authoring UI and page list to respond..."
@for i in 1 2 3 4 5 6 7 8 9 10; do \
PID=$$(cat "$(AUTHOR_PID)"); \