diff --git a/modules/services/scheduling/atd.nix b/modules/services/scheduling/atd.nix index 3c3aca6f5a24..8f6d1667bdb3 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"; }; };