Dan in CA
Try this simplified script in RC.local:
### Start the OSPi interval program
python ospi.py 0.0.0.0:8080 &
To make sure the rc.local file is executable, issue the following command:
sudo chmod +x /etc/rc.local
Once you reboot the Pi the program should start running in the background and you can ssh in and do other stuff.
There are more details in the wiki at: