aboutsummaryrefslogtreecommitdiff
path: root/cmd/service/servicecmd.h
diff options
context:
space:
mode:
authorDavid Oberhollenzer <goliath@infraroot.at>2020-05-09 15:47:15 +0200
committerDavid Oberhollenzer <goliath@infraroot.at>2020-05-09 16:00:08 +0200
commit319b20e6c303a5c66513708372af24bcdcd1e905 (patch)
treeb495d7e59fc24948ee95b3428a336604987b23f5 /cmd/service/servicecmd.h
parent86b9683ec5bc70c875cc0dfc87dbbd61c02682ea (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/servicecmd.h')
0 files changed, 0 insertions, 0 deletions