freeswitch-stable: add SIGKILL to init script 359/head
authorSebastian Kemper <sebastian_ml@gmx.net>
Sun, 5 Aug 2018 13:04:13 +0000 (15:04 +0200)
committerSebastian Kemper <sebastian_ml@gmx.net>
Sun, 5 Aug 2018 13:04:16 +0000 (15:04 +0200)
commit53b5b75af1101444250a7e1f76e75af9c482a440
treeb2c92decebdf3a9456f972492fda57d6992e2160
parent88b12368f11f3feeefcd4dcbe54f21159b8356c1
freeswitch-stable: add SIGKILL to init script

Sometimes freeswitch doesn't exit after receiving the SIGTERM signal.
This can be reproduced by sending SIGTERM to a freeswitch instance which
is initializing (which can take quite some time).

Instead of just giving up and exiting - leaving a hung freeswitch
process on the system - this commit adds some lines to the init script
that send SIGKILL to freeswitch in case the attempt to terminate it with
SIGTERM fails.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
net/freeswitch-stable/Makefile
net/freeswitch-stable/files/freeswitch.init