summaryrefslogtreecommitdiff
path: root/ldr-counter.service
diff options
context:
space:
mode:
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