Files
svc-core/deploy/yukart-obd-poller.service

18 lines
533 B
Desktop File

[Unit]
Description=Yukart obd-poller: OBD-II over the K-line through the Bluetooth ELM327
Documentation=http://pi5-16:3005/yukart/svc-core
# 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
StartLimitIntervalSec=0
[Service]
User=mikkeli
EnvironmentFile=/etc/default/yukart-elm
ExecStart=/usr/local/bin/yukart-obd-poller --elm ${ELM_ADDR}
Restart=always
RestartSec=2
[Install]
WantedBy=multi-user.target