nixpkgs/modules
Peter Simons 03f13a4939 Tell sshd not to detach into the background.
This makes it easier for systemd to track it and avoids race conditions such as
this one:

  systemd[1]: PID file /run/sshd.pid not readable (yet?) after start.
  systemd[1]: Failed to start SSH Daemon.
  systemd[1]: Unit sshd.service entered failed state.
  systemd[1]: sshd.service holdoff time over, scheduling restart.
  systemd[1]: Stopping SSH Daemon...
  systemd[1]: Starting SSH Daemon...
  sshd[2315]: Server listening on 0.0.0.0 port 22.
  sshd[2315]: Server listening on :: port 22.
  sshd[2335]: error: Bind to port 22 on 0.0.0.0 failed: Address already in use.
  sshd[2335]: error: Bind to port 22 on :: failed: Address already in use.
  sshd[2335]: fatal: Cannot bind any address.
  systemd[1]: Started SSH Daemon.
2012-09-28 17:38:24 +02:00
..
config Merge branch 'master' of github.com:NixOS/nixos into systemd 2012-08-20 11:27:38 -04:00
hardware Add new 'hardware.cpu.amd.updateMicrocode' option. 2012-09-11 18:44:37 +02:00
installer nixos-rebuild: Support --option 2012-09-14 13:23:19 -04:00
misc Merge branch 'master' of github.com:NixOS/nixos into systemd 2012-09-11 10:58:57 -04:00
profiles Remove jfsrec from the minimal CD because it pulls in Boost 2012-07-25 11:39:41 -04:00
programs Fix the dependencies of the vboxnet0 service 2012-08-20 16:19:57 -04:00
security Merge branch 'master' of github.com:NixOS/nixos into systemd 2012-08-20 11:27:38 -04:00
services Tell sshd not to detach into the background. 2012-09-28 17:38:24 +02:00
system Move setting ownership of /nix/store to stage-2-init 2012-09-28 10:59:58 -04:00
tasks Merge branch 'master' of github.com:NixOS/nixos into systemd 2012-09-11 10:58:57 -04:00
testing Automatically append ".service" to the name of service units 2012-08-23 10:25:27 -04:00
virtualisation Automatically append ".service" to the name of service units 2012-08-23 10:25:27 -04:00
module-list.nix Merge remote-tracking branch 'origin/master' into systemd 2012-09-14 13:24:03 -04:00
rename.nix Adding a rename line for rt73 -> ralink. 2012-08-11 14:54:43 +02:00