Merge pull request #41733 from Baughn/nix-sync

zfs: Fix "zfs-sync" for modern systemd
This commit is contained in:
Jörg Thalheim 2018-06-09 08:29:26 +01:00 committed by GitHub
commit bf070df972
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;