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