aboutsummaryrefslogtreecommitdiff
path: root/systemd
diff options
context:
space:
mode:
Diffstat (limited to 'systemd')
-rw-r--r--systemd/system/lightsout.service4
1 files changed, 2 insertions, 2 deletions
diff --git a/systemd/system/lightsout.service b/systemd/system/lightsout.service
index 7d3b89c..f720f0f 100644
--- a/systemd/system/lightsout.service
+++ b/systemd/system/lightsout.service
@@ -3,8 +3,8 @@ Description = turn the led off as a service.
After = network.target
[Service]
-Type = simple
-ExecStart = echo 0 | tee /sys/class/leds/mmc0/brightness && echo 0 | tee /sys/class/leds/ACT/brightness
+Type = oneshot
+ExecStart= /usr/local/merlot/bin/lightsout.sh
User = root
Group = root
# Restart = on-failure