summaryrefslogtreecommitdiff
path: root/ldr-counter.service
diff options
context:
space:
mode:
authorst33v <github@f3rr3t.com>2017-06-15 18:03:23 +1000
committerst33v <github@f3rr3t.com>2017-06-15 18:03:23 +1000
commit1a6c45164d4e1579af81971e5c573c1c34dd4ccd (patch)
treebb6f320df0923fd188592d4b0dea1cdbc403963d /ldr-counter.service
parent7539c612381ee6f674ae4649aa32df237607c65e (diff)
overdue cleanupHEADmaster
Diffstat (limited to 'ldr-counter.service')
-rw-r--r--ldr-counter.service5
1 files changed, 4 insertions, 1 deletions
diff --git a/ldr-counter.service b/ldr-counter.service
index 64c113c..495835d 100644
--- a/ldr-counter.service
+++ b/ldr-counter.service
@@ -3,6 +3,9 @@ Description=Read light level from LDR and store result in file
[Service]
Type=oneshot
-User=st33v
+User=root
# WorkingDirectory=/home/st33v/light/
ExecStart=/usr/local/bin/ldr-counter.py
+
+[Install]
+WantedBy=ldr-counter.timer