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