Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
A systemd service file for running safe shutdown Python script on the RetroFlag NESPi case
[Unit]
Description=Safe shutdown for the RetroFlag PiCase that uses Retropie.
[Service]
Type=simple
ExecStart=/usr/bin/python /opt/RetroFlag/SafeShutdown.py &
RemainAfterExit=yes
[Install]
WantedBy=default.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment