On Mon, Feb 23, 2015 at 1:48 PM, Gabriel Wicke gwicke@wikimedia.org wrote:
Service-runner [1] is a small module that we moved out of restbase. It generalizes some simple start-up, monitoring and supervision facilities ...
I'm surprised there isn't something like this already in nodejs that you get "for free" when you use forever[6] to run a node command. Did you consider forever-service [7] ? It sounds similar:
- Make an universal service installer across various Linux distros
and other OS. 2. Automatically configure other useful things such as Logrotation scripts, port monitoring scripts etc. 3. Graceful shutdown of services as default behaviour.
It's _great_ that https://github.com/wikimedia/service-runner#see-also
mentions similar packages, I made a pull request to add forever-service to the README though I didn't compare its features.
For small (third party) installs with limited memory, we also added the
capability to cleanly run multiple services in a single process.
Yay. Should MediaWiki-Vagrant use this, or does it only benefit when you're running more -oids than just Parsoid?
I'm so excitoid
[6] https://github.com/foreverjs/forever [7] https://github.com/zapty/forever-service -- =S Page WMF Tech writer