Files
dotfiles/.config/systemd/user/weather-dump.service
T
Daniele Fucini 90a81ea960 Add a weekly dump of the Weather database
weather-dump.timer runs weather-dump weekly, keeping the two newest ISO weeks in
~/.local/share/ens-forecast/dumps, which simple_backup then copies; the login comes
from ~/.config/ens-forecast/dump.cnf (not tracked).
2026-10-31 19:00:06 +01:00

12 lines
295 B
Desktop File

[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