Commit 95c5bb7
committed
Ensure signals are propagated to all nodejs processes
Pass the `-g` flag to tini, so that when a signal is received (typically
from k8s' pod lifecycle management) it gets propagated to all node.js
processes that were spawned.
This behavior is similar to Ctrl+C in a terminal:
> In macOS, as in other Unix-like operating systems (like Linux and BSD),
> when you press Ctrl+C in your terminal, the terminal driver sends the
> SIGINT (Signal Interrupt) signal to the entire foreground process group,
> not just the single process you might see running.
Issue: CLDSRV-7271 parent fd8e83f commit 95c5bb7
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
0 commit comments