aboutsummaryrefslogtreecommitdiff
path: root/etc/systemd/brep-load.timer
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-01-18 07:35:12 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-01-23 17:47:47 +0200
commit1dc38cf49b6c7a8b661a9cc675ded94c8ab33c36 (patch)
tree5a216148adb9d842a5a15c032a671182faa9ba06 /etc/systemd/brep-load.timer
parentfe6182a8c89675f92e72c881d707e21cdf56f376 (diff)
Implement brep-migrate utility
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