summaryrefslogtreecommitdiff
path: root/lights-out-init.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'lights-out-init.service.in')
-rw-r--r--lights-out-init.service.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/lights-out-init.service.in b/lights-out-init.service.in
new file mode 100644
index 0000000..a7e0f55
--- /dev/null
+++ b/lights-out-init.service.in
@@ -0,0 +1,10 @@
+[Unit]
+Description=configure the GPIO pins for lights out
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=#BINDIR#/lights-out init
+
+[Install]
+WantedBy=multi-user.target