From 8c672f058fd6069bbd44eccede9b4d305c87bc83 Mon Sep 17 00:00:00 2001 From: Johann Hoffmann Date: Fri, 24 Jun 2022 18:49:02 +0200 Subject: [PATCH] Always re-generate config file if TEMPLATE_CONFIG is set to true (#53) Signed-off-by: Johann Hoffmann --- docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index e56c0a7..0d4df29 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -5,7 +5,7 @@ if [ "$SELFSIGNED_CERTS" = 'true' ]; then update-ca-certificates fi -if [[ "$TEMPLATE_CONFIG" = 'true' && ! -f "$OWSEC_CONFIG"/owsec.properties ]]; then +if [[ "$TEMPLATE_CONFIG" = 'true' ]]; then RESTAPI_HOST_ROOTCA=${RESTAPI_HOST_ROOTCA:-"\$OWSEC_ROOT/certs/restapi-ca.pem"} \ RESTAPI_HOST_PORT=${RESTAPI_HOST_PORT:-"16001"} \ RESTAPI_HOST_CERT=${RESTAPI_HOST_CERT:-"\$OWSEC_ROOT/certs/restapi-cert.pem"} \