From c8fc492acf4cae1bc4924f998f8f3d010c6154d0 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 5 Oct 2010 14:22:06 +0000 Subject: [PATCH] * Start atd when udev has finished completely. Hopefully this fixes the random atd failures at boot time, which seem to be caused by a race with the creation of /dev/null or something. svn path=/nixos/trunk/; revision=24077 --- modules/services/scheduling/atd.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/services/scheduling/atd.nix b/modules/services/scheduling/atd.nix index 3c3aca6f5a2..8f6d1667bdb 100644 --- a/modules/services/scheduling/atd.nix +++ b/modules/services/scheduling/atd.nix @@ -66,7 +66,7 @@ in jobs.atd = { description = "at daemon (atd)"; - startOn = "started udev"; + startOn = "stopped udevtrigger"; preStart = '' @@ -99,7 +99,9 @@ in fi ''; - exec = "${at}/sbin/atd -f"; + exec = "${at}/sbin/atd"; + + daemonType = "fork"; }; };