Patrick Williams | 44b3caf | 2024-04-12 16:51:14 -0500 | [diff] [blame] | 1 | From c27e128fdc062ec3fcdf7b48a8c5078615c538df Mon Sep 17 00:00:00 2001 |
Brad Bishop | 96ff198 | 2019-08-19 13:50:42 -0400 | [diff] [blame] | 2 | From: Changqing Li <changqing.li@windriver.com> |
| 3 | Date: Mon, 1 Jul 2019 11:34:49 +0800 |
| 4 | Subject: [PATCH] mdadm: add option -y for use syslog to recive event report |
| 5 | |
| 6 | fix service startup failed when there is |
| 7 | No mail address or alert command |
| 8 | |
| 9 | Upstream-Status: Inappropriate [configuration] |
| 10 | |
| 11 | Signed-off-by: Changqing Li <changqing.li@windriver.com> |
| 12 | --- |
| 13 | systemd/mdmonitor.service | 2 +- |
| 14 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 15 | |
| 16 | diff --git a/systemd/mdmonitor.service b/systemd/mdmonitor.service |
Patrick Williams | 44b3caf | 2024-04-12 16:51:14 -0500 | [diff] [blame] | 17 | index 9c36478..d289846 100644 |
Brad Bishop | 96ff198 | 2019-08-19 13:50:42 -0400 | [diff] [blame] | 18 | --- a/systemd/mdmonitor.service |
| 19 | +++ b/systemd/mdmonitor.service |
Patrick Williams | 44b3caf | 2024-04-12 16:51:14 -0500 | [diff] [blame] | 20 | @@ -14,4 +14,4 @@ Documentation=man:mdadm(8) |
Brad Bishop | 96ff198 | 2019-08-19 13:50:42 -0400 | [diff] [blame] | 21 | Environment= MDADM_MONITOR_ARGS=--scan |
| 22 | EnvironmentFile=-/run/sysconfig/mdadm |
| 23 | ExecStartPre=-/usr/lib/mdadm/mdadm_env.sh |
| 24 | -ExecStart=BINDIR/mdadm --monitor $MDADM_MONITOR_ARGS |
| 25 | +ExecStart=BINDIR/mdadm --monitor -y $MDADM_MONITOR_ARGS |