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

zfs: Fix "zfs-sync" for modern systemd

This commit is contained in:
Svein Ove Aas 2018-06-09 00:06:22 +01:00
parent 500f1a9438
commit deb6c6e052

View file

@ -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;