0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-14 06:00:33 +03:00

nixos/systemd-tmpfiles: fix ordering of systemd-tmpfiles-setup-sysroot

Prior to this change a service failure would occur when this tmpfiles
service did not finish fast enough and receive a SIGTERM from systemd.
Additionally, `initrd-nixos-activation` is already ordered with
`After=initrd-switch-root.target`.
This commit is contained in:
WilliButz 2025-01-15 15:34:42 +01:00
parent 997e9d83c0
commit bc5b78f993
No known key found for this signature in database
GPG key ID: AB05DF703EB9DC70

View file

@ -322,7 +322,7 @@ in
description = "Create Volatile Files and Directories in the Real Root";
after = [ "initrd-fs.target" ];
before = [
"initrd-nixos-activation.service"
"initrd.target"
"shutdown.target" "initrd-switch-root.target"
];
conflicts = [ "shutdown.target" "initrd-switch-root.target" ];