summaryrefslogtreecommitdiff
path: root/remove-old-backups.timer.in
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2023-10-02 10:58:06 +0200
committerErich Eckner <git@eckner.net>2023-10-02 10:58:06 +0200
commitc5c23768aeaa7d69c4c1ad713e56ab791f708f44 (patch)
treed2376b3890376aeebf9eb4a22f557716eaf8400d /remove-old-backups.timer.in
parent686a96b0150266f4c1c993373f9d195a11137614 (diff)
downloadhardlinkedBackups-c5c23768aeaa7d69c4c1ad713e56ab791f708f44.tar.xz
systemd service and timer for backup removal
Diffstat (limited to 'remove-old-backups.timer.in')
-rw-r--r--remove-old-backups.timer.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/remove-old-backups.timer.in b/remove-old-backups.timer.in
new file mode 100644
index 0000000..673e18e
--- /dev/null
+++ b/remove-old-backups.timer.in
@@ -0,0 +1,10 @@
+[Unit]
+Description=Regularly remove old backups.
+
+[Timer]
+AccuracySec=1us
+RandomizedDelaySec=1day
+OnCalendar=*-*-* 00:00:00
+
+[Install]
+WantedBy=timers.target