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:
parent
997e9d83c0
commit
bc5b78f993
1 changed files with 1 additions and 1 deletions
|
@ -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" ];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue