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:
7 files changed
+41
-68
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user