]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
Handle signals better with -reincarnate
authorTravis Cross <tc@traviscross.com>
Fri, 26 Jul 2013 03:35:46 +0000 (03:35 +0000)
committerTravis Cross <tc@traviscross.com>
Fri, 26 Jul 2013 17:30:03 +0000 (17:30 +0000)
commit9959096559df3014d18b1ab98943baca52ea90e6
tree38dfee3d706fc720722921d2a18e3affec48d0fe
parent9fc3990e0420d528c5d917879f1f8fafa7dba7aa
Handle signals better with -reincarnate

If we receive SIGTERM or SIGILL we should propagate the signal to the
child FS process.  As FS normally handles these signals, we need to
restore the handler before we refork.

FS may also add a handler for SIGCHLD; we need the default action
here instead for the parent.
src/switch.c