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