forked from mirrors/nixpkgs
Merge pull request #178447 from Francesco149/dendrite-prestart
This commit is contained in:
commit
2665f5e379
|
@ -288,11 +288,11 @@ in
|
||||||
LimitNOFILE = 65535;
|
LimitNOFILE = 65535;
|
||||||
EnvironmentFile = lib.mkIf (cfg.environmentFile != null) cfg.environmentFile;
|
EnvironmentFile = lib.mkIf (cfg.environmentFile != null) cfg.environmentFile;
|
||||||
LoadCredential = cfg.loadCredential;
|
LoadCredential = cfg.loadCredential;
|
||||||
ExecStartPre = ''
|
ExecStartPre = [''
|
||||||
${pkgs.envsubst}/bin/envsubst \
|
${pkgs.envsubst}/bin/envsubst \
|
||||||
-i ${configurationYaml} \
|
-i ${configurationYaml} \
|
||||||
-o /run/dendrite/dendrite.yaml
|
-o /run/dendrite/dendrite.yaml
|
||||||
'';
|
''];
|
||||||
ExecStart = lib.strings.concatStringsSep " " ([
|
ExecStart = lib.strings.concatStringsSep " " ([
|
||||||
"${pkgs.dendrite}/bin/dendrite-monolith-server"
|
"${pkgs.dendrite}/bin/dendrite-monolith-server"
|
||||||
"--config /run/dendrite/dendrite.yaml"
|
"--config /run/dendrite/dendrite.yaml"
|
||||||
|
|
Loading…
Reference in a new issue