src.nth.io/

summaryrefslogtreecommitdiff
path: root/goaccess/templates/goaccess.timer.j2
diff options
context:
space:
mode:
Diffstat (limited to 'goaccess/templates/goaccess.timer.j2')
-rw-r--r--goaccess/templates/goaccess.timer.j29
1 files changed, 9 insertions, 0 deletions
diff --git a/goaccess/templates/goaccess.timer.j2 b/goaccess/templates/goaccess.timer.j2
new file mode 100644
index 0000000..7f68e81
--- /dev/null
+++ b/goaccess/templates/goaccess.timer.j2
@@ -0,0 +1,9 @@
+[Unit]
+Description=GoAccess refresh timer
+
+[Timer]
+OnCalendar={{goaccess_timer_freq}}
+Unit=goaccess.service
+
+[Install]
+WantedBy=timers.target