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 #