From 7741b508ff99b2f56aae2c5654a727b3de7d1ebf Mon Sep 17 00:00:00 2001 From: pyr0ball Date: Mon, 11 May 2026 06:08:19 -0700 Subject: [PATCH] fix: use sudo podman for rootful Podman systems --- podman-standalone.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/podman-standalone.sh b/podman-standalone.sh index 1fe5dc2..fc5f08c 100755 --- a/podman-standalone.sh +++ b/podman-standalone.sh @@ -76,8 +76,10 @@ QBIT_LOGS=/opt/qbittorrent/config/data/logs # ── Turnstone container ─────────────────────────────────────────────────────── # Image is built locally — no registry auto-update label. -# To update: podman build -t localhost/turnstone:latest /opt/turnstone -# podman restart turnstone +# To update: sudo podman build -t localhost/turnstone:latest /opt/turnstone +# sudo podman restart turnstone +# +# Must be run as root (sudo bash podman-standalone.sh) — rootful Podman only. # # Remove existing container if present (safe re-run) podman rm -f turnstone 2>/dev/null || true @@ -106,8 +108,8 @@ echo "Turnstone is starting up." echo " UI: http://localhost:8534/turnstone/" echo "" echo "Check container health with:" -echo " podman ps" -echo " podman logs turnstone" +echo " sudo podman ps" +echo " sudo podman logs turnstone" echo "" echo "To register as a systemd service:" echo " sudo podman generate systemd --new --name turnstone \\" @@ -116,5 +118,5 @@ echo " sudo systemctl daemon-reload" echo " sudo systemctl enable --now turnstone" echo "" echo "To ingest qBittorrent logs now:" -echo " podman exec turnstone python scripts/ingest_corpus.py \\" +echo " sudo podman exec turnstone python scripts/ingest_corpus.py \\" echo " /logs/qbittorrent/qbittorrent.log /data/turnstone.db"