From 85820d90f61321b834da3358e1590d90ca8c41cc Mon Sep 17 00:00:00 2001 From: root Date: Sat, 31 Aug 2024 00:14:56 -0700 Subject: lights out --- systemd/system/lightsout.service | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'systemd') 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 -- cgit v1.2.3