Between these two links:
https://www.raspberrypi.org/forums/viewtopic.php?p=921354#p921354
https://www.raspberrypi-spy.co.uk/2015/10/how-to-autorun-a-python-script-on-boot-using-systemd/
I managed to hack together a service file that uses `systemd`
- make a service script and then run on startup....
https://www.digitalocean.com/community/tutorials/how-to-use-systemctl-to-manage-systemd-services-and-units
maybe:
https://unix.stackexchange.com/questions/47695/how-to-write-startup-script-for-systemd
It seems that I might be able to start with Control C to prevent it running scripts.
Check tonight....
More about services here:
https://gist.github.com/drmalex07/d006f12914b21198ee43
http://www.sharats.me/posts/the-ever-useful-and-neat-subprocess-module/
This is interesting...
No comments:
Post a Comment