openssh: 7.4p1 no longer backgrounds when systemd is starting it.
This commit is contained in:
parent
11e8ed5ff4
commit
8ed4c8b73b
1 changed files with 1 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue