jw3 / harvest17

0 stars 0 forks source link

Touchscreen py script from initd #36

Closed jw3 closed 6 years ago

jw3 commented 6 years ago

Touch script does not seem to start. Is it a pip issue?

jw3 commented 6 years ago

Good article. Only obvious difference is the start-stop command that is referenced

http://blog.scphillips.com/posts/2013/07/getting-a-python-script-to-run-in-the-background-as-a-service-on-boot/

jw3 commented 6 years ago

Success with this in field modifications.

Used start-stop-daemon specifying the user.

jw3 commented 6 years ago

exec start-stop-daemon --start -c pi --exec /usr/local/bin/touch-waypoint.py