AutoRunning Python scripts at boot on Ubuntu 16

Ubuntu 16 uses SystemD, so these instructions are helpful

Then tweaking the config file here got it to work

https://stackoverflow.com/questions/35641414/python-import-of-local-module-failing-when-run-as-systemd-systemctl-service

Edit: I was having a bug with my code and it was restarting too quickly. I added this to the config..

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.