|
|
2910d5 |
commit fd38b8ea80ff8e0317e12d1d70431148ceedd5fd
|
|
|
2910d5 |
Author: Xiao Ni <xni@redhat.com>
|
|
|
2910d5 |
Date: Tue Feb 11 21:44:15 2020 +0800
|
|
|
2910d5 |
|
|
|
2910d5 |
Remove the legacy whitespace
|
|
|
2910d5 |
|
|
|
2910d5 |
The whitespace between Environment= and the true value causes confusion.
|
|
|
2910d5 |
To avoid confusing other people in future, remove the whitespace to keep
|
|
|
2910d5 |
it a simple, unambiguous syntax
|
|
|
2910d5 |
|
|
|
2910d5 |
Signed-off-by: Xiao Ni <xni@redhat.com>
|
|
|
2910d5 |
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
|
|
|
2910d5 |
|
|
|
2910d5 |
diff --git a/systemd/mdcheck_continue.service b/systemd/mdcheck_continue.service
|
|
|
2910d5 |
index aa02dde..854317f 100644
|
|
|
2910d5 |
--- a/systemd/mdcheck_continue.service
|
|
|
2910d5 |
+++ b/systemd/mdcheck_continue.service
|
|
|
2910d5 |
@@ -11,7 +11,7 @@ ConditionPathExistsGlob = /var/lib/mdcheck/MD_UUID_*
|
|
|
2910d5 |
|
|
|
2910d5 |
[Service]
|
|
|
2910d5 |
Type=oneshot
|
|
|
2910d5 |
-Environment= "MDADM_CHECK_DURATION=6 hours"
|
|
|
2910d5 |
+Environment="MDADM_CHECK_DURATION=6 hours"
|
|
|
2910d5 |
EnvironmentFile=-/run/sysconfig/mdadm
|
|
|
2910d5 |
ExecStartPre=-/usr/lib/mdadm/mdadm_env.sh
|
|
|
2910d5 |
ExecStart=/usr/share/mdadm/mdcheck --continue --duration ${MDADM_CHECK_DURATION}
|
|
|
2910d5 |
diff --git a/systemd/mdcheck_start.service b/systemd/mdcheck_start.service
|
|
|
2910d5 |
index da62d5f..3bb3d13 100644
|
|
|
2910d5 |
--- a/systemd/mdcheck_start.service
|
|
|
2910d5 |
+++ b/systemd/mdcheck_start.service
|
|
|
2910d5 |
@@ -11,7 +11,7 @@ Wants=mdcheck_continue.timer
|
|
|
2910d5 |
|
|
|
2910d5 |
[Service]
|
|
|
2910d5 |
Type=oneshot
|
|
|
2910d5 |
-Environment= "MDADM_CHECK_DURATION=6 hours"
|
|
|
2910d5 |
+Environment="MDADM_CHECK_DURATION=6 hours"
|
|
|
2910d5 |
EnvironmentFile=-/run/sysconfig/mdadm
|
|
|
2910d5 |
ExecStartPre=-/usr/lib/mdadm/mdadm_env.sh
|
|
|
2910d5 |
ExecStart=/usr/share/mdadm/mdcheck --duration ${MDADM_CHECK_DURATION}
|
|
|
2910d5 |
diff --git a/systemd/mdmonitor-oneshot.service b/systemd/mdmonitor-oneshot.service
|
|
|
2910d5 |
index fd469b1..373955a 100644
|
|
|
2910d5 |
--- a/systemd/mdmonitor-oneshot.service
|
|
|
2910d5 |
+++ b/systemd/mdmonitor-oneshot.service
|
|
|
2910d5 |
@@ -9,7 +9,7 @@
|
|
|
2910d5 |
Description=Reminder for degraded MD arrays
|
|
|
2910d5 |
|
|
|
2910d5 |
[Service]
|
|
|
2910d5 |
-Environment= MDADM_MONITOR_ARGS=--scan
|
|
|
2910d5 |
+Environment=MDADM_MONITOR_ARGS=--scan
|
|
|
2910d5 |
EnvironmentFile=-/run/sysconfig/mdadm
|
|
|
2910d5 |
ExecStartPre=-/usr/lib/mdadm/mdadm_env.sh
|
|
|
2910d5 |
ExecStart=BINDIR/mdadm --monitor --oneshot $MDADM_MONITOR_ARGS
|