From 23a3a23e9413aff30cee8bc27dfad2beb3512030 Mon Sep 17 00:00:00 2001 From: Mark Patton Date: Wed, 30 Oct 2024 10:32:24 -0400 Subject: [PATCH] Cleanup ldap healthcheck to better logically group the init commands --- eclipse-pass.local.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclipse-pass.local.yml b/eclipse-pass.local.yml index f2ff61c..e0f9ec6 100644 --- a/eclipse-pass.local.yml +++ b/eclipse-pass.local.yml @@ -84,7 +84,7 @@ services: - .eclipse-pass.local_env # Healthy when manage to create the suffix and load users healthcheck: - test: 'dsconf -D "cn=Directory Manager" localhost backend create --suffix="$$DS_SUFFIX_NAME" --be-name="pass" || ldapadd -f /pass.ldif -H ldap://localhost:3389 -w "$$DS_DM_PASSWORD" -D "cn=Directory Manager" || exit 1' + test: '(dsconf -D "cn=Directory Manager" localhost backend create --suffix="$$DS_SUFFIX_NAME" --be-name="pass" && ldapadd -f /pass.ldif -H ldap://localhost:3389 -w "$$DS_DM_PASSWORD" -D "cn=Directory Manager") || exit 1' start_period: 60s interval: 5s volumes: