-
Notifications
You must be signed in to change notification settings - Fork 204
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Autostart at reboot #56
Comments
Try crontab is very touchy about paths also make sure you “sudo crontab -e” to edit |
@rainripples This isnt working for me. Its still not starting at boot. |
There are always multiple ways to start scripts on the raspberry pi. Maybe check general sources on how to start python scripts on startup. Check this link which uses systemd. This seems to be the best option (in 2022). Older approaches using rc.local are deprecated Below is my file mycamera.service which sits in /etc/systemd/system. Go to:
Ctrl + x to exist the editor. Confirm Y you want to save Now enable this to boot up on restart |
Hey guys,
is there an easy way to autostart the script at reboot? already tried the crontab.
@reboot python3 /home/pi/pistreaming/server.py
but this is not working.
The text was updated successfully, but these errors were encountered: