forked from mirrors/nixpkgs
Merge pull request #17503 from peterhoeg/ssh
ssh module: ignore exit code when socket activated
This commit is contained in:
commit
f4e1041e31
|
@ -263,6 +263,7 @@ in
|
|||
|
||||
serviceConfig =
|
||||
{ ExecStart =
|
||||
(optionalString cfg.startWhenNeeded "-") +
|
||||
"${cfgc.package}/bin/sshd " + (optionalString cfg.startWhenNeeded "-i ") +
|
||||
"-f ${pkgs.writeText "sshd_config" cfg.extraConfig}";
|
||||
KillMode = "process";
|
||||
|
|
Loading…
Reference in a new issue