From 78ff978416eca48328a5053b540cbcbd87624f3f Mon Sep 17 00:00:00 2001 From: tocmo0nlord Date: Sat, 4 Jul 2026 02:33:29 +0000 Subject: [PATCH] systemd unit: keep logging to avc_run.log (tooling reads it) Under systemd stdout/stderr go to the journal only, which would silently break scripts/score_calls.py and transcript extraction. Append both to the log file. Co-Authored-By: Claude Opus 4.8 --- avc-phone.service | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/avc-phone.service b/avc-phone.service index ada446d..14e8caa 100644 --- a/avc-phone.service +++ b/avc-phone.service @@ -20,6 +20,10 @@ ExecStart=/home/tocmo0nlord/avc-phone/run.sh # A phone line should always come back up. Restart=always RestartSec=5 +# Keep logging to the file the tooling reads (scripts/score_calls.py, transcript +# extraction) — under systemd stdout/stderr would otherwise go only to the journal. +StandardOutput=append:/home/tocmo0nlord/avc-phone/avc_run.log +StandardError=append:/home/tocmo0nlord/avc-phone/avc_run.log # Give model loads time before a failed start counts against the restart limit. TimeoutStartSec=120