If the power ever goes out I want the pi to reboot and start running my script again. How can I make the Python script run at startup Raspbian has a login password which is the first thing I have to remove. The script runs on a raspberry pi running the latest version of raspbian 3.18. A better way will involve cron or something similar to make sure the software is always running and the hardware watchdog.īut let's start with this for now, this has only been tested with Raspbian. Begin by slotting your SD card into the SD card slot on the Raspberry Pi, which will only fit one way. 1 I have a python program which posts to my local web server. Click on Applications -> Preferences -> Main Menu Editor on your Pi desktop. This is a quick and dirty way to get your Pi to run a particular piece of software on boot. Step 1: You Only Need to Do This Part Once You only need to do this part once, but you need to do it first. How could you make your Raspberry Pi 4 program start on boot Fortunately, there are some solutions to your problem. Wrote this a while back openFrameworks-arm/Resonate2013Workshop/blob/master/Auto booting into your own program with Raspbian.txt Create the AutoStart Shell Script Right-click on the ScratchGPIO8plus icon on the desktop and select Text Editor Change lines 5 & 8 to: Exec/home/pi/.