Run turnstone-console alongside the server

Console (cluster dashboard + admin panel) starts as a background
daemon under marvin on :8090, sharing the same config.toml and SQLite
DB (WAL multi-writer). Forwarded via run.sh and exposed through
tailcat; same login as the server.
This commit is contained in:
marvin committed 2026-09-28 21:35:38 +02:00
1 parent 18fdff7d8c
commit 5560055c29
4 files changed
+16 -3

No files matched your search

+7
View File
@@ -43,6 +43,13 @@ setpriv --reuid=marvin --regid=marvin --init-groups \
--password "$ADMIN_PASSWORD" \
|| echo "start-turnstone: admin seeding failed (continuing)"
# Console (cluster dashboard + admin panel) as a background daemon under
# marvin — PID 1 stays the server, so if the server dies the VM halts.
# Shares the same config.toml/database as the server (WAL multi-writer).
setpriv --reuid=marvin --regid=marvin --init-groups \
/usr/local/bin/turnstone-console --host 0.0.0.0 --port 8090 &
echo "start-turnstone: console starting on :8090"
# NOTE: turnstone reads $HOME/.config/turnstone/config.toml as marvin
exec setpriv --reuid=marvin --regid=marvin --init-groups \
/usr/local/bin/turnstone-server --host 0.0.0.0 --port 8080