Merge the database dump scripts into db-dump

garmin-dump, weather-dump and library-dump differed only in project, database and rotation; one
db-dump PROJECT DATABASE week|day replaces them. The units keep their names and only change ExecStart.
This commit is contained in:
Daniele Fucini committed 2026-11-14 15:49:48 +01:00
1 parent faad434dad
commit 4a96319bb2
7 files changed
+41 -68

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ StartLimitBurst=4
[Service]
Type=oneshot
ExecStart=%h/.local/bin/weather-dump
ExecStart=%h/.local/bin/db-dump ens-forecast Weather week
# MariaDB not up yet (e.g. caught up right after boot)? retry a few times
Restart=on-failure
RestartSec=5min