aboutsummaryrefslogtreecommitdiffstats
path: root/systemd/backup_budget.timer
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/backup_budget.timer')
-rw-r--r--systemd/backup_budget.timer12
1 files changed, 12 insertions, 0 deletions
diff --git a/systemd/backup_budget.timer b/systemd/backup_budget.timer
new file mode 100644
index 0000000..94b4eb5
--- /dev/null
+++ b/systemd/backup_budget.timer
@@ -0,0 +1,12 @@
+# must be symlinked from ~/.config/systemd/user
+[Unit]
+Description=Backup budget timer
+
+[Timer]
+# run 10m after boot
+OnBootSec=10m
+# then every hour
+OnUnitActiveSec=1h
+
+[Install]
+WantedBy=timers.target