Merge branch 'systemd' of github.com:NixOS/nixos into systemd

This commit is contained in:
Eelco Dolstra 2012-09-28 11:41:59 -04:00
commit 0c4c3fc8aa

View File

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