23c7026bc8
/ crosscheck (push) Successful in 1s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DDwfd6Ki8UfG4hK6W5YpJz
25 lines
759 B
Desktop File
25 lines
759 B
Desktop File
[Unit]
|
|
Description=Yukart recorder: raw CAN and GNSS sessions to disk
|
|
Documentation=http://pi5-16:3005/yukart/svc-core
|
|
# Tier 1, ordered after nothing: CAN adapter and gpsd come and go, and the
|
|
# recorder waits for them itself rather than through unit dependencies.
|
|
StartLimitIntervalSec=0
|
|
|
|
[Service]
|
|
User=mikkeli
|
|
ExecStart=/usr/local/bin/yukart-recorder run
|
|
Restart=always
|
|
RestartSec=2
|
|
# /var/lib/yukart/recordings and /run/yukart-recorder, created and chowned by systemd.
|
|
StateDirectory=yukart/recordings
|
|
RuntimeDirectory=yukart-recorder
|
|
# Shutdown closes the session and fsyncs; seconds at most, but never cut it short.
|
|
TimeoutStopSec=20
|
|
KillSignal=SIGTERM
|
|
Nice=-5
|
|
IOSchedulingClass=best-effort
|
|
IOSchedulingPriority=0
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|