feat: add base systemd timers

These systemd timers are used to run the backup and prune services on a daily and weekly basis respecfully.
They are intended to be used for all hosts to keep them all on the same schedule.
This commit is contained in:
Jordan Del Pilar
2026-07-11 18:02:46 -07:00
parent 134cf79698
commit 6df632aec0
2 changed files with 20 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
[Unit]
Description=Run Restic Daily Backup
[Timer]
OnCalendar=*-*-* 03:00:00
RandomizedDelaySec=15min
Persistent=true
[Install]
WantedBy=timers.target
+10
View File
@@ -0,0 +1,10 @@
[Unit]
Description=Run Restic Weekly Prune
[Timer]
OnCalendar=Sun *-*-* 04:00:00
RandomizedDelaySec=30min
Persistent=true
[Install]
WantedBy=timers.target