Utils: Don't hard restart freeswitch
This commit is contained in:
parent
44753f67c6
commit
479d13326c
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ if [ -a /tmp/FS-dirty -o -a /tmp/OSMO-dirty ]; then
|
||||||
waitfor0calls
|
waitfor0calls
|
||||||
if [ -a /tmp/FS-dirty ] ; then
|
if [ -a /tmp/FS-dirty ] ; then
|
||||||
logc "Freeswitch is tagged for restart due to RCCN update"
|
logc "Freeswitch is tagged for restart due to RCCN update"
|
||||||
sv restart freeswitch
|
/usr/bin/fs_cli -x "fsctl shutdown asap"
|
||||||
rm /tmp/FS-dirty
|
rm /tmp/FS-dirty
|
||||||
logc "freeswitch restarted"
|
logc "freeswitch restarted"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue