Merge pull request #178447 from Francesco149/dendrite-prestart

This commit is contained in:
Sandro 2023-03-03 18:45:09 +01:00 committed by GitHub
commit 2665f5e379
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -288,11 +288,11 @@ in
LimitNOFILE = 65535;
EnvironmentFile = lib.mkIf (cfg.environmentFile != null) cfg.environmentFile;
LoadCredential = cfg.loadCredential;
ExecStartPre = ''
ExecStartPre = [''
${pkgs.envsubst}/bin/envsubst \
-i ${configurationYaml} \
-o /run/dendrite/dendrite.yaml
'';
''];
ExecStart = lib.strings.concatStringsSep " " ([
"${pkgs.dendrite}/bin/dendrite-monolith-server"
"--config /run/dendrite/dendrite.yaml"