freeswitch-stable: procd compatibility
authorSebastian Kemper <sebastian_ml@gmx.net>
Mon, 12 Nov 2018 20:20:55 +0000 (21:20 +0100)
committerSebastian Kemper <sebastian_ml@gmx.net>
Mon, 12 Nov 2018 20:34:25 +0000 (21:34 +0100)
commit5a35a231ec86ee6e71d18fba0e6ced4f323f4cda
treefa951d141d89b74b082f2318a988fffaeb3d716d
parent72cb5b8350abcb112f20e4a92efa791c4686ab3c
freeswitch-stable: procd compatibility

procd runs as pid 1. When freeswitch realizes that its parent has pid 1,
it thinks that it has been orphaned and terminates the console thread.
That's why procd isn't able to get freeswitch's console output.

This commit mutes the check in src/switch_console.c. Now console output
is properly logged. The workaround parameters "-nc -nf" are replaced by
a proper "-c" ("console").

Additionally this commit hands control over killing freeswitch to procd.
It's no longer done by the script. This simplifies things quite a bit.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
net/freeswitch-stable/files/freeswitch.hotplug
net/freeswitch-stable/files/freeswitch.init
net/freeswitch-stable/patches/370-procd-compat.patch [new file with mode: 0644]