From 479d13326c48ec5113ff8908f9a1f45eddda2d1b Mon Sep 17 00:00:00 2001 From: "Wile E. Coyote" Date: Mon, 25 Sep 2017 17:09:56 +0000 Subject: [PATCH] Utils: Don't hard restart freeswitch --- modules/rhizo_base/files/bin/check_dirty.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/rhizo_base/files/bin/check_dirty.sh b/modules/rhizo_base/files/bin/check_dirty.sh index b4aa5cd..c85568a 100755 --- a/modules/rhizo_base/files/bin/check_dirty.sh +++ b/modules/rhizo_base/files/bin/check_dirty.sh @@ -9,7 +9,7 @@ if [ -a /tmp/FS-dirty -o -a /tmp/OSMO-dirty ]; then waitfor0calls if [ -a /tmp/FS-dirty ] ; then 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 logc "freeswitch restarted" fi