* 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
This commit is contained in:
parent
17213c4f2a
commit
c8fc492acf
@ -66,7 +66,7 @@ in
|
|||||||
jobs.atd =
|
jobs.atd =
|
||||||
{ description = "at daemon (atd)";
|
{ description = "at daemon (atd)";
|
||||||
|
|
||||||
startOn = "started udev";
|
startOn = "stopped udevtrigger";
|
||||||
|
|
||||||
preStart =
|
preStart =
|
||||||
''
|
''
|
||||||
@ -99,7 +99,9 @@ in
|
|||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
||||||
exec = "${at}/sbin/atd -f";
|
exec = "${at}/sbin/atd";
|
||||||
|
|
||||||
|
daemonType = "fork";
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user