Unverified Commit 2665f5e3 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by GitHub
Browse files

Merge pull request #178447 from Francesco149/dendrite-prestart

parents 4479d146 7cee18ee
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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"