Merge branch 'systemd' of github.com:NixOS/nixos into systemd
This commit is contained in:
commit
0c4c3fc8aa
@ -351,10 +351,10 @@ in
|
|||||||
serviceConfig =
|
serviceConfig =
|
||||||
''
|
''
|
||||||
ExecStart=\
|
ExecStart=\
|
||||||
${pkgs.openssh}/sbin/sshd -h ${cfg.hostKeyPath} \
|
${pkgs.openssh}/sbin/sshd -D -h ${cfg.hostKeyPath} \
|
||||||
-f ${pkgs.writeText "sshd_config" cfg.extraConfig}
|
-f ${pkgs.writeText "sshd_config" cfg.extraConfig}
|
||||||
Restart=always
|
Restart=always
|
||||||
Type=forking
|
Type=simple
|
||||||
KillMode=process
|
KillMode=process
|
||||||
PIDFile=/run/sshd.pid
|
PIDFile=/run/sshd.pid
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user