Merge branch 'sistason-feature/allow-own-replication-config' into release-1.5.0

This commit is contained in:
Bertrand Gouny
2021-02-14 13:52:41 +01:00
+7
View File
@@ -482,6 +482,13 @@ EOF
[[ -f "$WAS_STARTED_WITH_REPLICATION" ]] && rm -f "$WAS_STARTED_WITH_REPLICATION"
echo "export PREVIOUS_HOSTNAME=${HOSTNAME}" > $WAS_STARTED_WITH_REPLICATION
elif [ "${LDAP_REPLICATION,,}" == "own" ]; then
log-helper info "Not touching replication config..."
[[ -f "$WAS_STARTED_WITH_REPLICATION" ]] && rm -f "$WAS_STARTED_WITH_REPLICATION"
echo "export PREVIOUS_HOSTNAME=${HOSTNAME}" > $WAS_STARTED_WITH_REPLICATION
else
log-helper info "Disable replication config..."