mirror of
https://github.com/osixia/container-openldap.git
synced 2026-08-24 10:05:45 -05:00
Merge branch 'sistason-feature/allow-own-replication-config' into release-1.5.0
This commit is contained in:
@@ -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..."
|
||||
|
||||
Reference in New Issue
Block a user