Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8082

Automation, sensing and robotics • Make code run in TTY1 on startup

$
0
0
I have some sensing software which must run on tty1. The older version used /etc/rc.local, but this no longer works on the latest Pi OS. How can I do this? I have looked at many potential solutions, none have worked. It is a flask server python script that also uses GPIO pins. I have tried running it not in a TTY, but I did not get the expected results. The command to run it is "python3 /home/pi/servertesting.py" for now.

I have tried all of these: [url]https://raspberrytips.com/autostart-a-p ... -boot/[url]
As well as others.

Statistics: Posted by Greggles — Sun Mar 30, 2025 12:36 pm



Viewing all articles
Browse latest Browse all 8082

Trending Articles