nixpkgs/modules/services
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
..
amqp strip trailing whitespace; no functional change 2011-09-14 18:20:50 +00:00
audio alsa.nix: initialize the sound card before restoring previously stored settings 2012-09-28 17:38:24 +02:00
backup * Drop references to activation scriptlets that no longer exist. 2012-03-15 14:21:17 +00:00
databases Merge branch 'master' of github.com:NixOS/nixos into systemd 2012-08-20 11:27:38 -04:00
games strip trailing whitespace; no functional change 2011-09-14 18:20:50 +00:00
hardware Enable upower's systemd unit 2012-08-21 11:29:59 -04:00
logging Merge branch 'master' of github.com:NixOS/nixos into systemd 2012-09-11 10:58:57 -04:00
mail postfix: convert service to systemd 2012-09-25 16:38:09 -04:00
misc Move setting ownership of /nix/store to stage-2-init 2012-09-28 10:59:58 -04:00
monitoring smartd: convert service to systemd 2012-09-25 16:38:05 -04:00
network-filesystems Global replace /var/run/current-system -> /run/current-system 2012-07-16 11:34:21 -04:00
networking Tell sshd not to detach into the background. 2012-09-28 17:38:24 +02:00
printing * CUPS: fix printing on a Ricoh Aficio MP C4500 PXL printer (and 2012-05-25 15:51:33 +00:00
scheduling Global replace /var/run/current-system -> /run/current-system 2012-07-16 11:34:21 -04:00
security F-Prot virus signaure database updater: package 2012-07-24 10:52:04 +03:00
system Clean up the nscd job 2012-09-25 15:22:55 -04:00
ttys Don't restart agetty 2012-08-23 11:13:33 -04:00
web-servers Merge branch 'master' of github.com:NixOS/nixos into systemd 2012-08-20 11:27:38 -04:00
x11 Automatically append ".service" to the name of service units 2012-08-23 10:25:27 -04:00