summaryrefslogtreecommitdiff
path: root/systemd/led-shutdown.service
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/led-shutdown.service')
-rw-r--r--systemd/led-shutdown.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/systemd/led-shutdown.service b/systemd/led-shutdown.service
new file mode 100644
index 0000000..07fc163
--- /dev/null
+++ b/systemd/led-shutdown.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=ledctl to indicate shut down status.
+DefaultDependencies=no
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/ledctl off
+
+[Install]
+WantedBy=halt.target shutdown.target
+