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 <noreply@anthropic.com>
This commit is contained in:
tocmo0nlord
2026-07-04 02:33:29 +00:00
parent 7b528eaed2
commit 78ff978416

View File

@@ -20,6 +20,10 @@ ExecStart=/home/tocmo0nlord/avc-phone/run.sh
# A phone line should always come back up. # A phone line should always come back up.
Restart=always Restart=always
RestartSec=5 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. # Give model loads time before a failed start counts against the restart limit.
TimeoutStartSec=120 TimeoutStartSec=120