diff --git a/ralf.root/usr/share/clearwater/infrastructure/scripts/ralf.monit b/ralf.root/usr/share/clearwater/infrastructure/scripts/ralf.monit index 6d051ee..4e9e5e4 100755 --- a/ralf.root/usr/share/clearwater/infrastructure/scripts/ralf.monit +++ b/ralf.root/usr/share/clearwater/infrastructure/scripts/ralf.monit @@ -11,8 +11,22 @@ . /etc/clearwater/config -# Set up the monit configuration for ralf with the right IP addresses and ports -cat > /etc/monit/conf.d/ralf.monit < /etc/monit/conf.d/ralf.monit < remote_session_stores_locations; @@ -775,7 +782,7 @@ int main(int argc, char**argv) std::string chronos_callback_addr = "127.0.0.1:" + port_str; int http_af = AF_INET; - if (options.chronos_hostname == "" || options.ralf_hostname == "") + if (options.chronos_hostname == "") { // If we are using a local chronos cluster, we want Chronos to call back to // its local Ralf instance so that we can handle Ralfs failing without missing