Enable only if true

This commit is contained in:
juarez 2023-08-03 15:58:19 +02:00
parent 6ef3bf6726
commit d05e96c141
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
if [ -n "$ENABLE_EXPORTER" ]; then if [ "$ENABLE_EXPORTER" == true ]; then
log INFO "Exporter setup detected -- will start Exporter service." log INFO "Exporter setup detected -- will start Exporter service."
OVERRIDE+=" -f ./$PROJECT/modules/exporter-compose.yml" OVERRIDE+=" -f ./$PROJECT/modules/exporter-compose.yml"
# TODO: Generate password in another way so that not all passwords are the same? # TODO: Generate password in another way so that not all passwords are the same?