Thiago_Almeida
Posts: 3
Joined: Sat May 25, 2019 12:52 am

rc.local

Sat May 25, 2019 3:43 am

hello!!!

I posted my aplicattion in python on rc.local.
when i reboot the raspbian in terminal, my aplication initializes, but when i reboot cutting energy my aplication not reboot.

Can someone help? thanks

pcmanbob
Posts: 5869
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

Re: rc.local

Sat May 25, 2019 10:22 am

We would need to know more about what your application does and does it require networking or any other services to be running.

you could try logging any errors to see if that give you a clue as to why its failing.

by adding the following after the call but before the &

existing line calling application >> /home/pi/log.txt 2>&1 &
We want information… information… information........................no information no help
The use of crystal balls & mind reading are not supported

Return to “Python”