changes
Some checks failed
Build Org Website / build (push) Failing after 52s

This commit is contained in:
2026-05-07 23:54:01 +01:00
parent 97f497855f
commit 7ffca5e39b
6 changed files with 48 additions and 19 deletions

View File

@@ -8,6 +8,7 @@ WorkingDirectory=/home/zaine/master-folder/org_files/org_web
Environment=AUTHOR_ROOT=/home/zaine/master-folder/org_files/org_web
Environment=AUTHOR_PORT=8765
Environment=PYTHONUNBUFFERED=1
ExecStartPre=/home/zaine/master-folder/org_files/org_web/.venv/bin/python -c "import authoring_server as s; pages=s.list_pages(); print(f'Authoring root: {s.ROOT}'); print(f'Editable pages: {len(pages)}'); raise SystemExit(0 if pages else 1)"
ExecStart=/home/zaine/master-folder/org_files/org_web/.venv/bin/python -u /home/zaine/master-folder/org_files/org_web/authoring_server.py
Restart=on-failure
RestartSec=5