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