]> git.proxmox.com Git - zfsonlinux.git/blob - zfs/debian/patches/0006-Enable-zed-emails.patch
ed40ff18d01d0560a83f78f1eed91538a6518aba
[zfsonlinux.git] / zfs / debian / patches / 0006-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 cmd/zed/zed.d/zed.rc | 4 ++--
11 1 file changed, 2 insertions(+), 2 deletions(-)
12
13 diff --git a/cmd/zed/zed.d/zed.rc b/cmd/zed/zed.d/zed.rc
14 index 0ef706849..50632bfcb 100644
15 --- a/cmd/zed/zed.d/zed.rc
16 +++ b/cmd/zed/zed.d/zed.rc
17 @@ -15,7 +15,7 @@
18 # Email will only be sent if ZED_EMAIL_ADDR is defined.
19 # Disabled by default; uncomment to enable.
20 #
21 -#ZED_EMAIL_ADDR="root"
22 +ZED_EMAIL_ADDR="root"
23
24 ##
25 # Name or path of executable responsible for sending notifications via email;
26 @@ -41,7 +41,7 @@
27 ##
28 # Minimum number of seconds between notifications for a similar event.
29 #
30 -#ZED_NOTIFY_INTERVAL_SECS=3600
31 +ZED_NOTIFY_INTERVAL_SECS=3600
32
33 ##
34 # Notification verbosity.