I have a script called
BOAT.py and it lives in
I want to autostart it at boot and I did a lot of research about doing so. I found many ways but none of them work.
I tried writing
sudo python BOAT.py in the
/etc/rc.local, I created a
launcher.sh script and added it in
crontab -e, I created a desktop file and
added it to the autostart folder in the .config file, and I tried writing to .bashrc (that one says unexpected end but) nothing works.
The script just has to start at login or boot.
Thanks for any help
The script runs if invoked from the terminal. In the /etc/rc.local I have this:
sudo python BOAT.py&
and in the crontab U have a script called
launcher.sh file has this code:
cd / cd /home/pi/BOAT.py cd/