2026-10-12 23:25:03 +09:00
|
|
|
[Unit]
|
2026-10-13 22:57:30 +09:00
|
|
|
Description=Yukart obd-poller: OBD-II over the K-line through the Bluetooth ELM327
|
2026-10-14 08:41:48 +09:00
|
|
|
Documentation=http://pi5-16:3005/yukart/svc-core
|
2026-10-13 22:57:30 +09:00
|
|
|
# Tier 2. Ordered after the broker and Bluetooth: the adapter comes and goes, and the
|
|
|
|
|
# poller connects, releases and retries by itself.
|
|
|
|
|
After=mosquitto.service bluetooth.service
|
2026-10-12 23:25:03 +09:00
|
|
|
StartLimitIntervalSec=0
|
|
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
|
User=mikkeli
|
2026-10-13 22:57:30 +09:00
|
|
|
EnvironmentFile=/etc/default/yukart-elm
|
|
|
|
|
ExecStart=/usr/local/bin/yukart-obd-poller --elm ${ELM_ADDR}
|
2026-10-12 23:25:03 +09:00
|
|
|
Restart=always
|
|
|
|
|
RestartSec=2
|
|
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
|
WantedBy=multi-user.target
|