Files

21 lines
616 B
SYSTEMD
Raw Permalink Normal View History

2026-04-24 16:34:10 -04:00
[Unit]
Description=powermon LVX6048 -> MQTT bridge
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=noise
Group=dialout
ExecStart=/home/noise/.local/bin/powermon -C /home/noise/.config/powermon/powermon.yaml
Restart=always
RestartSec=10
# Disable systemd's default rate-limiter: when the inverter is briefly
# unreachable (sunrise cold-start / USB hiccup), we want to keep retrying
# every 10s indefinitely — not give up after 5 failures in 10s like the
# default StartLimitBurst=5 / StartLimitIntervalSec=10s would.
StartLimitIntervalSec=0
2026-04-24 16:34:10 -04:00
[Install]
WantedBy=multi-user.target