aboutsummaryrefslogtreecommitdiff
path: root/systemd
diff options
context:
space:
mode:
authorroot <D Delmar Davis feurig@fromhell.com>2024-08-31 00:14:56 -0700
committerroot <D Delmar Davis feurig@fromhell.com>2024-08-31 00:14:56 -0700
commit85820d90f61321b834da3358e1590d90ca8c41cc (patch)
tree963190a4c49a0195cd186a3d951c4e47e23cf8e4 /systemd
parentbf5eff1e502c93e0a45a3cb8bee5df1e71d5e73e (diff)
lights out
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