Skip to content

Commit

Permalink
Added autostart section
Browse files Browse the repository at this point in the history
  • Loading branch information
TimJuni committed May 25, 2015
1 parent 179ad2f commit 49dba0c
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,17 @@ If you want to use to raspistillWeb from the internet, you can set up an apache
When you surf `http://<adress of your pi>` you should be asked for a username (guest) and a password (see step 5).

### Run raspistillWeb on startup
TODO
1. Create a startup script
* `sudo nano /etc/init.d/raspistillweb`
```
#!/bin/bash
cd /home/pi/Development/env/raspistillWeb
../bin/pserve development.ini
```
2. Make the script executable
`sudo chmod 755 /etc/init.d/raspistillweb`
3. Register the script to be run at startup
`sudo update-rc.d /etc/init.d/raspistillweb defaults`

## Future Work
This is my first project with python and pyramid. Feel free to leave a commend or a feature request.

0 comments on commit 49dba0c

Please sign in to comment.