elife-xpub icon indicating copy to clipboard operation
elife-xpub copied to clipboard

Pass on signals to pubsweet server

Open erezmus opened this issue 5 years ago • 0 comments

When starting pubsweet server, the cli script in pubsweet/cli/server.js spawns a new node process using pubsweet/src/startup/start.js as entry point.

We need the cli script to listen to SIGTERM and on that signal terminate the child process

Pubsweet issue: https://gitlab.coko.foundation/pubsweet/pubsweet/issues/443

erezmus avatar Mar 21 '19 09:03 erezmus