fix quotes in the preStart script
This commit is contained in:
parent
33c3a7990f
commit
694265b34d
1 changed files with 2 additions and 2 deletions
|
@ -38,8 +38,8 @@ in
|
|||
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})
|
||||
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
|
||||
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
|
||||
'';
|
||||
serviceConfig = {
|
||||
Type = "simple";
|
||||
|
|
Loading…
Reference in a new issue