This repository is archived, it was superseded by https://github.com/layereight/gpio-trigger
Trigger Raspberry Pi shutdown with GPIO push button.
$ sudo systemctl stop pi-shutdown
$ sudo systemctl disable pi-shutdown
$ sudo systemctl daemon-reload
$ sudo rm /etc/systemd/system/pi-shutdown.py /etc/systemd/system/pi-shutdown.service