Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Best practice for running Parse Server in background on Ubuntu #162

Closed
christianmarth opened this issue Feb 2, 2016 · 6 comments
Closed

Comments

@christianmarth
Copy link

Looking for the best practice to run parse the express.js parse server in the background in Ubuntu using something like systemd, forever or mon

@gfosco
Copy link
Contributor

gfosco commented Feb 2, 2016

I like forever

npm install -g forever
forever start index.js
forever restart index.js
forever stop index.js
forever logs

@duergner
Copy link

duergner commented Feb 2, 2016

I normally use supervisord on ubuntu for easily starting services without the need to write custom start/stop scripts

@christianmarth
Copy link
Author

forever is good although especially for development but in production If the server is restarted it won't start up the parse server instance... I'll have a look at supervisord

@ghost
Copy link

ghost commented Feb 2, 2016

You can also try PM2, you can add it at startup and it can also handle reloading files after changing them.

@francocorreasosa
Copy link

I use PM2 in cluster mode. Totally recommend it 👍

@drew-gross
Copy link
Contributor

Closing as this is a week old and some solid solutions have been provided.

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

No branches or pull requests

5 participants