summaryrefslogtreecommitdiff
path: root/meta-phosphor/common/recipes-phosphor/leds/obmc-control-led/obmc-led-stop@.service
diff options
context:
space:
mode:
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/leds/obmc-control-led/obmc-led-stop@.service')
-rw-r--r--meta-phosphor/common/recipes-phosphor/leds/obmc-control-led/obmc-led-stop@.service8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/leds/obmc-control-led/obmc-led-stop@.service b/meta-phosphor/common/recipes-phosphor/leds/obmc-control-led/obmc-led-stop@.service
new file mode 100644
index 0000000000..81bdbecbc7
--- /dev/null
+++ b/meta-phosphor/common/recipes-phosphor/leds/obmc-control-led/obmc-led-stop@.service
@@ -0,0 +1,8 @@
+[Unit]
+Description=Turn Off %i LED
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+Restart=no
+ExecStart={sbindir}/mapper call /org/openbmc/control/led/%i org.openbmc.Led setOff