Files
shaggy-solar/LVX6048/etc/systemd/system/lvx-resolve-links.timer

16 lines
507 B
SYSTEMD

[Unit]
Description=Periodic re-resolve of LVX6048 hidraw symlinks (transient-failure backstop)
# Belt-and-suspenders against the udev RUN+= path: if the inverter is still
# enumerating at hot-plug time and the resolver finds no PI18-responsive
# device, this timer keeps trying every few minutes. The resolver itself is
# idempotent — runs that don't change anything are no-ops.
[Timer]
OnBootSec=2min
OnUnitActiveSec=5min
AccuracySec=15s
Unit=lvx-resolve-links.service
[Install]
WantedBy=timers.target