zfs: Fix "zfs-sync" for modern systemd
This commit is contained in:
@@ -403,6 +403,9 @@ in
|
|||||||
nameValuePair "zfs-sync-${pool}" {
|
nameValuePair "zfs-sync-${pool}" {
|
||||||
description = "Sync ZFS pool \"${pool}\"";
|
description = "Sync ZFS pool \"${pool}\"";
|
||||||
wantedBy = [ "shutdown.target" ];
|
wantedBy = [ "shutdown.target" ];
|
||||||
|
unitConfig = {
|
||||||
|
DefaultDependencies = false;
|
||||||
|
};
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
RemainAfterExit = true;
|
RemainAfterExit = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user