Pi Shutdown Service for Headless Units
Safe shutdown and start pi boards using a mommentary push buton
- Run the installer.
sudo chmod +x /home/pi/pi-shut/installer.sh
sudo /home/pi/pi-shut/installer.sh
- Wire the pi as per diagram.
- Start the shutdown service.
sudo systemctl start on-off-pushbutton.service