summarylogtreecommitdiffstats
path: root/plusberrypi-shutdown.service
diff options
context:
space:
mode:
authorStefan Richter2015-10-25 15:47:35 +0100
committerStefan Richter2015-10-25 15:47:35 +0100
commita98400d9aeb6117917ac965361d990a38cf6974b (patch)
tree4fe031976bf417ac282bd11ce59cdbdcd8fd379c /plusberrypi-shutdown.service
downloadaur-a98400d9aeb6117917ac965361d990a38cf6974b.tar.gz
initial files for systemd service (Plusberry Pi Power Button Support)
Diffstat (limited to 'plusberrypi-shutdown.service')
-rw-r--r--plusberrypi-shutdown.service8
1 files changed, 8 insertions, 0 deletions
diff --git a/plusberrypi-shutdown.service b/plusberrypi-shutdown.service
new file mode 100644
index 000000000000..61ca65d3d3d3
--- /dev/null
+++ b/plusberrypi-shutdown.service
@@ -0,0 +1,8 @@
+[Unit]
+Description=This service watches GPIO 24 for Plusberry shutdown.
+
+[Service]
+ExecStart=/usr/bin/plusberrypi-shutdown.sh
+
+[Install]
+WantedBy=multi-user.target