Closed stfnhmplr closed 4 years ago
Node-RED emits the necessary close event only if the process is killed with SIGINT. ioBroker and Docker using SIGTERM so the close event is not emitted by Node-RED.
SIGINT
SIGTERM
There's already a PR to expand the signals: https://github.com/node-red/node-red/pull/2447
You can use the following workarounds until the PR get's merged:
docker kill --signal=SIGINT nodered
Fixed with Node-RED@1.1.0
Node-RED emits the necessary close event only if the process is killed with
SIGINT
. ioBroker and Docker usingSIGTERM
so the close event is not emitted by Node-RED.There's already a PR to expand the signals: https://github.com/node-red/node-red/pull/2447
You can use the following workarounds until the PR get's merged:
docker kill --signal=SIGINT nodered
to stop Node-RED gracefully.SIGINT