diff --git a/start-daemon.sh b/start-daemon.sh index c37769b3..a899e8b7 100755 --- a/start-daemon.sh +++ b/start-daemon.sh @@ -40,6 +40,15 @@ else --use-env \ --prefix IDDS_CFG_AUTH \ -d /opt/idds/config/idds/auth.cfg + + if [ -f /opt/idds/configmap/auth.cfg ]; then + python3 /opt/idds/tools/env/merge_idds_configs.py \ + -s /opt/idds/configmap/auth.cfg $IDDS_OVERRIDE_AUTH_CONFIGS \ + --use-env \ + --prefix IDDS_CFG_AUTH \ + -d /opt/idds/config/idds/auth.cfg + fi + python3 /opt/idds/tools/env/merge_configmap.py \ -s /opt/idds/configmap/idds_configmap.json \ -d /opt/idds/config/idds/auth.cfg