summaryrefslogtreecommitdiff
path: root/ldr-counter.timer
diff options
context:
space:
mode:
Diffstat (limited to 'ldr-counter.timer')
-rw-r--r--ldr-counter.timer11
1 files changed, 11 insertions, 0 deletions
diff --git a/ldr-counter.timer b/ldr-counter.timer
new file mode 100644
index 0000000..b18f9b9
--- /dev/null
+++ b/ldr-counter.timer
@@ -0,0 +1,11 @@
+[Unit]
+Description=Read light level and store result
+
+[Timer]
+Persistent=true
+OnBootSec=3min
+OnUnitActiveSec=5m
+Unit=ldr-counter.service
+
+[Install]
+WantedBy=timers.target