summaryrefslogtreecommitdiff
path: root/ldr-counter.service
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.service
parent83397fd286da46862a2df016b0e37d9f11df9076 (diff)
basic timestamp writes to file
Diffstat (limited to 'ldr-counter.service')
-rw-r--r--ldr-counter.service8
1 files changed, 8 insertions, 0 deletions
diff --git a/ldr-counter.service b/ldr-counter.service
new file mode 100644
index 0000000..64c113c
--- /dev/null
+++ b/ldr-counter.service
@@ -0,0 +1,8 @@
+[Unit]
+Description=Read light level from LDR and store result in file
+
+[Service]
+Type=oneshot
+User=st33v
+# WorkingDirectory=/home/st33v/light/
+ExecStart=/usr/local/bin/ldr-counter.py