Skip to content

Instantly share code, notes, and snippets.

@ridingintraffic
Created October 5, 2018 15:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ridingintraffic/7224fe95ab50462dc21f547ca8349d67 to your computer and use it in GitHub Desktop.
Save ridingintraffic/7224fe95ab50462dc21f547ca8349d67 to your computer and use it in GitHub Desktop.
chmod +x /home/pi/emu.py # setting the python script to executable
cp emu.service /etc/systemd/system # copy the service template
sudo systemctl daemon-reload # systemd refresh the system folder for templates
sudo systemctl enable emu.service # install and enable the service
sudo systemctl start emu.service # start it up!
sudo systemctl status emu # did it work?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment