summaryrefslogtreecommitdiff
path: root/ldr-counter.timer
diff options
context:
space:
mode:
authorst33v <st33v@f3rr3t.com>2016-01-17 18:37:05 +1100
committerst33v <st33v@f3rr3t.com>2016-01-17 18:37:05 +1100
commitba47a4cabdddfe9ef841188a74866c87a5603e4c (patch)
tree132e46c5807e849d3982727d6d4a4eeb5e983327 /ldr-counter.timer
parent83397fd286da46862a2df016b0e37d9f11df9076 (diff)
basic timestamp writes to file
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