From d05e96c141401904bb309988ce49fa808a626d2c Mon Sep 17 00:00:00 2001 From: juarez Date: Thu, 3 Aug 2023 15:58:19 +0200 Subject: [PATCH] Enable only if true --- ccp/modules/exporter-setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ccp/modules/exporter-setup.sh b/ccp/modules/exporter-setup.sh index 0f05315..fed62e5 100644 --- a/ccp/modules/exporter-setup.sh +++ b/ccp/modules/exporter-setup.sh @@ -1,6 +1,6 @@ #!/bin/bash -if [ -n "$ENABLE_EXPORTER" ]; then +if [ "$ENABLE_EXPORTER" == true ]; then log INFO "Exporter setup detected -- will start Exporter service." OVERRIDE+=" -f ./$PROJECT/modules/exporter-compose.yml" # TODO: Generate password in another way so that not all passwords are the same?