3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #17503 from peterhoeg/ssh

ssh module: ignore exit code when socket activated
This commit is contained in:
Robin Gloster 2016-08-05 19:58:06 +02:00 committed by GitHub
commit f4e1041e31

View file

@ -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";