Parse-server: Best practice for running Parse Server in background on Ubuntu

Created on 2 Feb 2016  路  6Comments  路  Source: parse-community/parse-server

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

Most helpful comment

I like forever

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

All 6 comments

I like forever

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

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

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

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

I use PM2 in cluster mode. Totally recommend it :+1:

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jiawenzhang picture jiawenzhang  路  4Comments

jaydeep82 picture jaydeep82  路  4Comments

dcdspace picture dcdspace  路  3Comments

dovewi picture dovewi  路  3Comments

lorki picture lorki  路  3Comments