Close or Esc Key

Arduino Projects   |   Raspberry Pi   |   Electronic Circuits   |   AVR   |   PIC   |   8051   |   Electronic Projects

run program on raspberry pi on boot up

2 posts / 0 new
Last post
Rahul
Rahul's picture
Offline
Last seen: 4 months 2 weeks ago
Joined: 04/12/2018 - 11:19
run program on raspberry pi on boot up

Hello, can anybody tell how can a program be run on raspberry pi on boot up, i am building a security system on pi and want a script to run as the pi boots up

Carter
Carter's picture
Offline
Last seen: 4 months 1 day ago
Joined: 20/12/2018 - 14:55
there are many ways to run a

there are many ways to run a program on boot up on Raspberry Pi...like editing rc.local file..open rc.local by the following command - sudo nano /etc/rc.local and add the following lines in the file for running a python program on bootup - sudo python path_of_file/name_of_file.py &
exit 0