Commit 7cee18ee authored by Franc[e]sco's avatar Franc[e]sco Committed by loli
Browse files

services.dendrite: change ExecStartPre to a list

parent e2c261f2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -271,11 +271,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"