openssh: 7.4p1 no longer backgrounds when systemd is starting it.

This commit is contained in:
Graham Christensen 2016-12-29 09:49:19 -05:00
parent 11e8ed5ff4
commit 8ed4c8b73b
No known key found for this signature in database
GPG key ID: 06121D366FE9435C

View file

@ -264,8 +264,7 @@ in
StandardInput = "socket"; StandardInput = "socket";
} else { } else {
Restart = "always"; Restart = "always";
Type = "forking"; Type = "simple";
PIDFile = "/run/sshd.pid";
}); });
}; };
@ -322,8 +321,6 @@ in
services.openssh.extraConfig = mkOrder 0 services.openssh.extraConfig = mkOrder 0
'' ''
PidFile /run/sshd.pid
Protocol 2 Protocol 2
UsePAM yes UsePAM yes