code had a skill issue

This commit is contained in:
Charlotte 🦝 Delenk 2022-04-30 09:15:58 +01:00
parent 880fa1bd58
commit 1ec0b04fd7
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -36,7 +36,7 @@ in
path = [ matrix-media-repo ];
preStart = ''
akid=$(cat ${config.sops.secrets."services/matrix-media-repo/access-key-id".path})
sak=$(cat ${config.sops.secrets."services/matrix-media-repo/access-key-id".path})
sak=$(cat ${config.sops.secrets."services/matrix-media-repo/secret-access-key".path})
cat ${config-yml} > /var/lib/matrix-media-repo/config.yml
sed -i "s|#ACCESS_KEY_ID#|$akid|g" /var/lib/matrix-media-repo/config.yml
sed -i "s|#SECRET_ACCESS_KEY#|$sak|g" /var/lib/matrix-media-repo/config.yml