zfs: Fix "zfs-sync" for modern systemd
(cherry picked from commit deb6c6e052a7c7d255835cb50ea2d39890c817a8)release-18.03-flake
parent
19d04024ff
commit
cc1b088a94
|
@ -401,6 +401,9 @@ in
|
|||
nameValuePair "zfs-sync-${pool}" {
|
||||
description = "Sync ZFS pool \"${pool}\"";
|
||||
wantedBy = [ "shutdown.target" ];
|
||||
unitConfig = {
|
||||
DefaultDependencies = false;
|
||||
};
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
RemainAfterExit = true;
|
||||
|
|
Loading…
Reference in New Issue