Changeset 5621

Relax the signal trapping in safe_callweaver a bit

Committed by:  mjagdis
Date:  Feb 09 2010 * 00:24 (6 months ago)

Affected files:

callweaver/trunk/system/safe_callweaver.in (unified diff)

r5611r5621
212212 run_callweaver()
213213 {
214214 # We should only exit if callweaver itself exits normally, which it
215 # should do even when signalled by a SIGTERM.
216 trap '' HUP INT QUIT PIPE TERM
215 # should do when signalled by a SIGTERM or SIGINT, however SIGHUP
216 # means reload configs and SIGPIPE and SIGQUIT are ignored if possible.
217 trap '' HUP PIPE QUIT
217218
218219 if [[ -n "$CALLWEAVER_TTY" ]]; then
219220 # From here on we only talk to CALLWEAVER_TTY. If the outer