Skip to content

Instantly share code, notes, and snippets.

@thomasstoeckert
Created August 2, 2018 17:17
Show Gist options
  • Save thomasstoeckert/c6a16576ec855acb43e1dab59cb54f41 to your computer and use it in GitHub Desktop.
Save thomasstoeckert/c6a16576ec855acb43e1dab59cb54f41 to your computer and use it in GitHub Desktop.
File used for automatic booting of the MagicRadio
[Unit]
Description=Magic Radio
After=multi-user.targer
[Service]
Type=simple
WorkingDirectory=/home/pi/MagicRadio/
ExecStart=/usr/bin/python /home/pi/MagicRadio/MagicRadio.py
Restart=on-abort
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment