freeswitch: rework init & hotplug 630/head
authorSebastian Kemper <sebastian_ml@gmx.net>
Fri, 26 Mar 2021 21:22:18 +0000 (22:22 +0100)
committerSebastian Kemper <sebastian_ml@gmx.net>
Fri, 26 Mar 2021 21:22:20 +0000 (22:22 +0100)
commit601188d0ff8d4ef9184b46abd3e2f0c18a41a11b
tree912ad4886a6395f1c4ce7bd1f1289ac53b06793c
parenta34590f0574928f28412713dfb02019fe81ffc1c
freeswitch: rework init & hotplug

This adds a term_timeout uci option which can be used to change the
default timeout that procd uses while waiting for freeswitch to exit
once the TERM signal is sent. freeswitch may take a bit longer to exit,
so adding this option is likely appreciated. By default procd's default
is used, though.

Logging is updated in init script and hotplug script. The used facility
is changed from user to daemon, for instance.

An issue was fixed in the parsing of the ntpq output. In case a positive
offset was printed the parsing failed. Apparently ntpq is now adding a
'+', so this is now accounted for.

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