Refactor how we restart FS when neccesary

Sometimes RCCN updates require FS to restart, we don't do this because
we don't want to drop calls, instead we were waiting till the nighttime
when it's likely there are no calls, (we still didn't drop them)

Let's issue a shutdown elegant right away, so FS will restart as soon as 'possible'
This commit is contained in:
Keith Whyte 2023-01-23 23:07:01 +01:00
parent 161a0bb032
commit 29832190cf
3 changed files with 19 additions and 1 deletions

View file

@ -459,7 +459,7 @@ schedule { 'never':
}
exec { 'notify-freeswitch':
command => '/bin/echo 1 > /tmp/FS-dirty',
command => '/home/rhizomatica/bin/notify-freeswitch.sh',
refreshonly => true,
}