diff options
author | David Oberhollenzer <goliath@infraroot.at> | 2020-05-09 15:47:15 +0200 |
---|---|---|
committer | David Oberhollenzer <goliath@infraroot.at> | 2020-05-09 16:00:08 +0200 |
commit | 319b20e6c303a5c66513708372af24bcdcd1e905 (patch) | |
tree | b495d7e59fc24948ee95b3428a336604987b23f5 /cmd/service/dumpscript.c | |
parent | 86b9683ec5bc70c875cc0dfc87dbbd61c02682ea (diff) |
Install a propper signal handler in runsvc
If runsvc is installed as sub reaper, it must handle SIGCHLD or
the system will accumulate zombie processes. Also, forward all
other signal to the currently supervised child process and hope
that if it is SIGTERM, the child itself knows how to shut down
any other processes it created.
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
Diffstat (limited to 'cmd/service/dumpscript.c')
0 files changed, 0 insertions, 0 deletions