[Unit] Description=Dump the Weather database to ~/.local/share/ens-forecast/dumps StartLimitIntervalSec=2h StartLimitBurst=4 [Service] Type=oneshot ExecStart=%h/.local/bin/weather-dump # MariaDB not up yet (e.g. caught up right after boot)? retry a few times Restart=on-failure RestartSec=5min