]> git.proxmox.com Git - zfsonlinux.git/blob - zfs-patches/0004-Enable-zfs-import.target-in-systemd-preset-6968.patch
build: reformat patches
[zfsonlinux.git] / zfs-patches / 0004-Enable-zfs-import.target-in-systemd-preset-6968.patch
1 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2 From: Antonio Russo <antonio.e.russo@gmail.com>
3 Date: Mon, 18 Dec 2017 12:43:55 -0500
4 Subject: [PATCH] Enable zfs-import.target in systemd preset (#6968)
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 Cherry picked line from PR #6822, this enables the new
10 target introduced in PR #6764.
11
12 Signed-off-by: Antonio Russo <antonio.e.russo@gmail.com>
13 (cherry picked from commit da16fc5739b1962b3d357246938d2df06d6a1075)
14 Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
15 ---
16 etc/systemd/system/50-zfs.preset.in | 1 +
17 1 file changed, 1 insertion(+)
18
19 diff --git a/etc/systemd/system/50-zfs.preset.in b/etc/systemd/system/50-zfs.preset.in
20 index 4d82778e3..884a69b5b 100644
21 --- a/etc/systemd/system/50-zfs.preset.in
22 +++ b/etc/systemd/system/50-zfs.preset.in
23 @@ -1,6 +1,7 @@
24 # ZFS is enabled by default
25 enable zfs-import-cache.service
26 disable zfs-import-scan.service
27 +enable zfs-import.target
28 enable zfs-mount.service
29 enable zfs-share.service
30 enable zfs-zed.service
31 --
32 2.14.2
33