tester si one_ha_server_index est accessible
This commit is contained in:
parent
7a779cdec4
commit
a785cedbf6
@ -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
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user