Skip to content

Added init.d startup script#3

Open
nichtich wants to merge 7 commits intosalendron:masterfrom
nichtich:master
Open

Added init.d startup script#3
nichtich wants to merge 7 commits intosalendron:masterfrom
nichtich:master

Conversation

@nichtich
Copy link

@nichtich nichtich commented Apr 1, 2013

Snakeberry should better use a startup script with PID file and write logs to /var/log, so I added this script. I would also like to create a debian package instead of asking people to do manual installation, but I have not figured out how, yet.

@salendron
Copy link
Owner

Thanks, that's great! I am a bit busy with projects irght now, but as soon as I have time for Snakeberry again I will merge your request!

Thanks again for your support!

@nichtich
Copy link
Author

nichtich commented Apr 3, 2013

Ok, I'll add more issues and code so you can have a view later. :-)

@diplopoda
Copy link

I tried to use the web client and the init.d startup - but it (raspberry pi ;) ) keeps telling me that the new snakeberry is not a valid executable and I can't update rc.d.

Any hint?

@nichtich
Copy link
Author

nichtich commented Apr 5, 2013

@diplopoda What excately have you tried? This should work:

chmod +x snakeberry
sudo cp snakeberry /etc/init.d/
sudo /etc/init.d/snakeberry 

The web client is not usable yet, I am working on it. Thanks for beta-testing :-)

@diplopoda
Copy link

@nichtich, when trying to do this, this error comes up:

sudo: /etc/init.d/snakeberry: command not found

@nichtich
Copy link
Author

nichtich commented Apr 9, 2013

@diplopoda you have to copy the file snakeberry to this location:

cd /home/pi/snakeberry/SnakeberryService/
sudo cp snakeberry /etc/init.d/

If you are not comfortable with linux shell and files it may be easier to wait until we have a custom installer script for SnakeberryService

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants