I want to launch python script on boot, but rc.local launches it as root, which causes error in my python module. Is it possible to make it run as non root? Instead of nohup python /home/pi/script.py & maybe I could use something which says it to use my non root user?
Asked
Active
Viewed 571 times
0
Ri Di
- 103
- 4
-
A different option: use `crontab` and use `@reboot` instead of the time parameters. – Giacomo Catenazzi Mar 02 '22 at 15:04