aboutsummaryrefslogtreecommitdiffstats
path: root/etc/systemd/lifeboat@.timer
diff options
context:
space:
mode:
authorWolfgang Müller2021-04-30 17:20:18 +0200
committerWolfgang Müller2021-04-30 17:20:18 +0200
commitbda62ea8ad3a0956af167987a7878c7a36304e2a (patch)
tree0a52d7e334acd21e0c8f3e23831aeb72f06373d0 /etc/systemd/lifeboat@.timer
parent15442e278022a377931774e311e257dc75f1df4c (diff)
downloadlifeboat-bda62ea8ad3a0956af167987a7878c7a36304e2a.tar.gz
Add systemd service and timer0.3.0
The service unit is based on lifeboat defaults and will make sure that restic-priv can be invoked with CAP_DAC_READ_SEARCH whilst locking down other forms of privilege escalation. The timer is mostly for convenient overriding in lifeboat@.timer.d/. We expect users to adjust this as necessary for their purposes.
Diffstat (limited to 'etc/systemd/lifeboat@.timer')
-rw-r--r--etc/systemd/lifeboat@.timer8
1 files changed, 8 insertions, 0 deletions
diff --git a/etc/systemd/lifeboat@.timer b/etc/systemd/lifeboat@.timer
new file mode 100644
index 0000000..4ab415c
--- /dev/null
+++ b/etc/systemd/lifeboat@.timer
@@ -0,0 +1,8 @@
+[Unit]
+Description=Daily lifeboat backup for %i
+
+[Timer]
+OnCalendar=18:00
+
+[Install]
+WantedBy=timers.target