zlacker

[parent] [thread] 2 comments
1. kragen+(OP)[view] [source] 2025-08-23 00:22:09
Hmm, is that desirable? If someone's going around sending SIGTERM to random processes they might also send SIGKILL, and there's no way Nitro can propagate SIGKILL to processes it starts.
replies(1): >>cbzbc+eE
2. cbzbc+eE[view] [source] 2025-08-23 07:52:36
>>kragen+(OP)
It does, because SIGTERM is traditionally understood as the trigger for a shutdown. Docker - for instance - will send a SIGTERM to pid 1 when a container is stopped - which goes back to a previous comment here about using a real init as pid 1 if the thing in your container forks: >>44990092
replies(1): >>kragen+mj1
◧◩
3. kragen+mj1[view] [source] [discussion] 2025-08-23 15:32:19
>>cbzbc+eE
Interesting! I didn't know that—I thought that when you told sysvinit to change its runlevel you normally used some slightly richer interface than signals.
[go to top]