zfs: Fix "zfs-sync" for modern systemd

wip/yesman
Svein Ove Aas 6 years ago
parent 500f1a9438
commit deb6c6e052
  1. 3
      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;

Loading…
Cancel
Save