fix(start.py): line-buffer stdout so journals show progress promptly

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Danny 2026-05-10 13:42:51 +02:00
parent 17248e239b
commit 459c751414

View file

@ -20,6 +20,10 @@ import threading
import time
import pathlib
# Flush prints line-by-line so the tunnel URL etc. show up promptly in
# systemd journals (stdout is block-buffered when not connected to a TTY).
sys.stdout.reconfigure(line_buffering=True)
SCRIPT_DIR = pathlib.Path(__file__).resolve().parent
SECRETS_FILE = pathlib.Path.home() / ".secrets" / "bigbiggerbiggestbot"