freeswitch-stable: add SIGKILL to init script 358/head
authorSebastian Kemper <sebastian_ml@gmx.net>
Sun, 5 Aug 2018 12:44:40 +0000 (14:44 +0200)
committerSebastian Kemper <sebastian_ml@gmx.net>
Sun, 5 Aug 2018 12:56:08 +0000 (14:56 +0200)
commitb7ce37ba0b8eb3dea50d1283409065dee22f1d2c
treec222a0d2f90701ef11e1bf3dddd05cde7cb9c76e
parent26db4efb3c11e2aba0c3406648a60740132b88f3
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