Organize local infrastructure and Vault secrets by service ownership

This commit is contained in:
Stephan D committed 2026-09-12 23:30:18 +02:00
1 parent 1b8800ee73
commit 9dbf0bd80c
44 files changed
+496 -359

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
#!/bin/sh
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
fi
exec service -config.file=/etc/sxchnge/bff.yml