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

Etherpad-lite restarting #218

Closed
spruce opened this issue Dec 13, 2013 · 5 comments
Closed

Etherpad-lite restarting #218

spruce opened this issue Dec 13, 2013 · 5 comments

Comments

@spruce
Copy link

spruce commented Dec 13, 2013

Hey,
I'm deploying Etherpad-lite with pm2 and to kill it with pm2 stop id it has to kill all the child processes, too.
Source:
https://github.com/ether/etherpad-lite/wiki/How-to-deploy-Etherpad-Lite-as-a-service

Thanks for your great development.

@JohnMcLear
Copy link

+1 :)

@Unitech
Copy link
Owner

Unitech commented Aug 22, 2014

Currently it doesn't do that ?
If child processes are not detached from the master process, on pm2 stop it should kill the entire tree

@almereyda
Copy link

With pm2 version 0.9.x it ran fine by just invoking server.js. Since the last changes by @Unitech it seems the settings.json has to be specified.

I'm running Etherpad Lite successfully with

pm2 start `pwd`/node_modules/ep_etherpad-lite/node/server.js -s `pwd`/settings.json --name "Etherpad Lite"

in fork mode.

from its directory and after bin/run.sh has been invoked at least once.
Important is the settings addition, as it won't find it else and run without them (cluser mode, dirty.db, irregular port).

@spruce @JohnMcLear Can you confirm? I believe this issue can be closed.

@Unitech
Copy link
Owner

Unitech commented Oct 9, 2014

fe92e71 will be available in the next release.

If you want to try it now:

$ npm install git://github.com/Unitech/pm2#development -g

@Unitech Unitech closed this as completed Oct 9, 2014
@JohnMcLear
Copy link

Did it make it into develop?

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

No branches or pull requests

5 participants