aboutsummaryrefslogtreecommitdiff
path: root/etc/systemd/brep-load.timer
diff options
context:
space:
mode:
Diffstat (limited to 'etc/systemd/brep-load.timer')
-rw-r--r--etc/systemd/brep-load.timer23
1 files changed, 23 insertions, 0 deletions
diff --git a/etc/systemd/brep-load.timer b/etc/systemd/brep-load.timer
new file mode 100644
index 0000000..713cb31
--- /dev/null
+++ b/etc/systemd/brep-load.timer
@@ -0,0 +1,23 @@
+[Unit]
+Description=brep repository loader timer
+RefuseManualStart=no
+RefuseManualStop=no
+
+[Timer]
+Unit=brep-load.service
+
+# Don't keep track of the timer across reboots.
+#
+Persistent=false
+
+# Wait 20 seconds until the first run.
+#
+OnBootSec=20
+
+# Then wait 5 minutes until the next run.
+#
+OnUnitInactiveSec=5m
+
+
+[Install]
+WantedBy=timers.target