Skip to content
This repository has been archived by the owner on Feb 25, 2020. It is now read-only.

Add basic scripts to install/uninstall debian init.d scripts #26

Closed
wants to merge 2 commits into from
Closed

Add basic scripts to install/uninstall debian init.d scripts #26

wants to merge 2 commits into from

Conversation

peterschwarz
Copy link

Scripts to install an init.d script for starting the Spark server on boot. Fixes issue 17

Usage (from <spark-server-root>/js):

sudo ./install-init-d.sh

To uninstall:

sudo ./uninstall-init-d.sh

The user can then start/stop the server manually by using:

sudo /etc/init.d/sparkup start <or stop>

Logs are directed to files in /var/spark

@kennethlimcp
Copy link
Contributor

@peterschwarz, nice! I shall test it on my Rpi later when i get home :)

@kennethlimcp
Copy link
Contributor

Tested this on debian OS and worked fine! Just some warning from forever module to set some parameters but i guess it's not critical.

@peterschwarz, using forever list doesn't show the process running. Is there a way we can make that happen?

lbt pushed a commit to lbt/spark-server that referenced this pull request Feb 28, 2017
move app setup to app.js; seperate test settings
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add stock startup / init.d script for running the server automatically on the raspberry pi
2 participants