]> git.proxmox.com Git - zfsonlinux.git/blob - zfs/debian/patches/0012-enable-zed.patch
update ZFS to 0.7.13
[zfsonlinux.git] / zfs / debian / patches / 0012-enable-zed.patch
1 From: Richard Laager <rlaager@wiktel.com>
2 Date: Wed, 30 Jan 2019 15:12:04 +0100
3 Subject: Enable zed emails
4
5 The OpenZFS event daemon monitors pools. This patch enables the email sending
6 function by default (if zed is installed). This is consistent with the default
7 behavior of mdadm.
8 ---
9 cmd/zed/zed.d/zed.rc | 4 ++--
10 1 file changed, 2 insertions(+), 2 deletions(-)
11
12 diff --git a/cmd/zed/zed.d/zed.rc b/cmd/zed/zed.d/zed.rc
13 index 35a4d12..c6c106b 100644
14 --- a/cmd/zed/zed.d/zed.rc
15 +++ b/cmd/zed/zed.d/zed.rc
16 @@ -15,7 +15,7 @@
17 # Email will only be sent if ZED_EMAIL_ADDR is defined.
18 # Disabled by default; uncomment to enable.
19 #
20 -#ZED_EMAIL_ADDR="root"
21 +ZED_EMAIL_ADDR="root"
22
23 ##
24 # Name or path of executable responsible for sending notifications via email;
25 @@ -41,7 +41,7 @@
26 ##
27 # Minimum number of seconds between notifications for a similar event.
28 #
29 -#ZED_NOTIFY_INTERVAL_SECS=3600
30 +ZED_NOTIFY_INTERVAL_SECS=3600
31
32 ##
33 # Notification verbosity.