diff options
author | Svein Ove Aas <sveina@gmail.com> | 2018-06-09 00:06:22 +0100 |
---|---|---|
committer | Svein Ove Aas <sveina@gmail.com> | 2018-06-09 01:17:04 +0100 |
commit | deb6c6e052a7c7d255835cb50ea2d39890c817a8 (patch) | |
tree | 1e1cd4ce8b5096da066bf9c915433e94e9dde12f /nixos/modules/tasks/filesystems | |
parent | 500f1a94388f817b9d2d91ffbb68cf554268c2d7 (diff) |
zfs: Fix "zfs-sync" for modern systemd
Diffstat (limited to 'nixos/modules/tasks/filesystems')
-rw-r--r-- | nixos/modules/tasks/filesystems/zfs.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/tasks/filesystems/zfs.nix b/nixos/modules/tasks/filesystems/zfs.nix index c3bf897d51fd..de735e9ba11b 100644 --- a/nixos/modules/tasks/filesystems/zfs.nix +++ b/nixos/modules/tasks/filesystems/zfs.nix @@ -403,6 +403,9 @@ in nameValuePair "zfs-sync-${pool}" { description = "Sync ZFS pool \"${pool}\""; wantedBy = [ "shutdown.target" ]; + unitConfig = { + DefaultDependencies = false; + }; serviceConfig = { Type = "oneshot"; RemainAfterExit = true; |