trying to run a .py script for startup
Posted: Fri Sep 20, 2013 7:17 pm
i made my own menu for launching things that works arleady,but i'm having issues of getting my RasPi to boot to the .py file.
i made a .conf in etc/init folder that looks like....
which i stole from http://www.raspberrypi.org/phpBB3/viewt ... 37&t=49153
when i try to test the launch it gives me something along the lines of 'don't know what this service is'
any ideas. if you know of a better tutorial of sorts for making a python script launch at startup, feel free to link and i'll learn myself
thanks for reading
kyle
i made a .conf in etc/init folder that looks like....
Code: Select all
# kyle likes his pi to go
description "Kyle Likes His Pi To Go"
author "pi"
start on runlevel [2345]
stop on runlevel [016]
chdir /home/pi/
exec python /home/pi/Desktop/menu/pitogo/pitogo.py
respawn
when i try to test the launch it gives me something along the lines of 'don't know what this service is'
any ideas. if you know of a better tutorial of sorts for making a python script launch at startup, feel free to link and i'll learn myself
thanks for reading
kyle