Keep email runtime configuration out of Vault

This commit is contained in:
Stephan D committed 2026-09-12 23:45:58 +02:00
1 parent 9d57a65010
commit 1fe173397f
12 files changed
+84 -25

No files matched your search

+1 -4
View File
@@ -2,9 +2,6 @@
set -eu
umask 077
if [ "$SXCHNGE_SERVICE" = notifications ]; then
printf '%s\n' "$EMAIL_CONFIG" > /run/sxchnge/email.yml
unset EMAIL_CONFIG
cat /etc/sxchnge/notifications.yml /run/sxchnge/email.yml > /run/sxchnge/config.yml
exec service -config.file=/run/sxchnge/config.yml
exec service -config.file=/etc/sxchnge/notifications.yml
fi
exec service -config.file=/etc/sxchnge/bff.yml