diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2023-03-03 18:45:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-03 18:45:09 +0100 |
commit | 2665f5e37992effe6db069d2e2361c04f6d8f362 (patch) | |
tree | aa5f429d4c9e6e60d10c57e937787a7f77a26ccb /nixos/modules/services/matrix | |
parent | 4479d14697a021dcf4cbcd12ea7c247155359a92 (diff) | |
parent | 7cee18eef3538478cffd8da3779215e9315aaab4 (diff) |
Merge pull request #178447 from Francesco149/dendrite-prestart
Diffstat (limited to 'nixos/modules/services/matrix')
-rw-r--r-- | nixos/modules/services/matrix/dendrite.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/matrix/dendrite.nix b/nixos/modules/services/matrix/dendrite.nix index a5fea3da48446..a8006547fc6b4 100644 --- a/nixos/modules/services/matrix/dendrite.nix +++ b/nixos/modules/services/matrix/dendrite.nix @@ -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" |