mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 19:55:41 +03:00
nixos/zfs: order pool sync services before final.target
If we don't do this, I think systemd can kill the service(s) before they finish.
This commit is contained in:
parent
5c8a2cab3f
commit
7aad7090b7
1 changed files with 1 additions and 0 deletions
|
@ -761,6 +761,7 @@ in
|
|||
lib.nameValuePair "zfs-sync-${pool}" {
|
||||
description = "Sync ZFS pool \"${pool}\"";
|
||||
wantedBy = [ "shutdown.target" ];
|
||||
before = [ "final.target" ];
|
||||
unitConfig = {
|
||||
DefaultDependencies = false;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue