3 ms·
The issue is solved in any service manager as long as the service doesn't fork, when you are the parent process you can ensure that you don't reap the child bef
by zxzax 5y ago
The issue is solved in any service manager as long as the service doesn't fork, when you are the parent process you can ensure that you don't reap the child before sending a signal.
Once the service forks then it becomes a problem. If you use cgroups it can be solved separately with the cgroup freezer, but there are still some open issues with this in systemd: https://github.com/systemd/systemd/issues/13101 https://github.com/systemd/systemd/issues/13101