From a785cedbf6b2461b95533e82a7417c631e9a588e Mon Sep 17 00:00:00 2001 From: Emmanuel Garette Date: Thu, 21 Feb 2019 14:31:49 +0100 Subject: [PATCH] tester si one_ha_server_index est accessible --- postservice/30-one-mng | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postservice/30-one-mng b/postservice/30-one-mng index 55bfa4c..635f170 100755 --- a/postservice/30-one-mng +++ b/postservice/30-one-mng @@ -456,7 +456,7 @@ function init_ha() { function main() { wait_true_retcode "Wait for oned to be started" "onecluster show 0 > /dev/null" - if [ "$(CreoleGet one_ha_server_index)" = "0" ]; then + if [ "$(CreoleGet activer_one_ha)" = "oui" ] && [ "$(CreoleGet one_ha_server_index)" = "0" ]; then init_ha fi #