diff options
author | Xiao Ni <xni@redhat.com> | 2019-12-18 07:46:21 +0100 |
---|---|---|
committer | Jes Sorensen <jsorensen@fb.com> | 2020-01-16 19:52:21 +0100 |
commit | e1512e7b7d060f0346738b237ea34eac21b29a26 (patch) | |
tree | c2520994f976d7fa9d728ffff21f3e969ef35284 /systemd | |
parent | Change warning message (diff) | |
download | mdadm-e1512e7b7d060f0346738b237ea34eac21b29a26.tar.xz mdadm-e1512e7b7d060f0346738b237ea34eac21b29a26.zip |
mdcheck service can't start succesfully because of syntax error
It reports error when starting mdcheck_start and mdcheck_continue service.
Invalid environment assignment, ignoring: MDADM_CHECK_DURATION="6 hours"
Signed-off-by: Xiao Ni <xni@redhat.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Diffstat (limited to 'systemd')
-rw-r--r-- | systemd/mdcheck_continue.service | 2 | ||||
-rw-r--r-- | systemd/mdcheck_start.service | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/systemd/mdcheck_continue.service b/systemd/mdcheck_continue.service index deac6954..aa02dde4 100644 --- a/systemd/mdcheck_continue.service +++ b/systemd/mdcheck_continue.service @@ -11,7 +11,7 @@ ConditionPathExistsGlob = /var/lib/mdcheck/MD_UUID_* [Service] Type=oneshot -Environment= MDADM_CHECK_DURATION="6 hours" +Environment= "MDADM_CHECK_DURATION=6 hours" EnvironmentFile=-/run/sysconfig/mdadm ExecStartPre=-/usr/lib/mdadm/mdadm_env.sh ExecStart=/usr/share/mdadm/mdcheck --continue --duration ${MDADM_CHECK_DURATION} diff --git a/systemd/mdcheck_start.service b/systemd/mdcheck_start.service index f17f1aae..da62d5f9 100644 --- a/systemd/mdcheck_start.service +++ b/systemd/mdcheck_start.service @@ -11,7 +11,7 @@ Wants=mdcheck_continue.timer [Service] Type=oneshot -Environment= MDADM_CHECK_DURATION="6 hours" +Environment= "MDADM_CHECK_DURATION=6 hours" EnvironmentFile=-/run/sysconfig/mdadm ExecStartPre=-/usr/lib/mdadm/mdadm_env.sh ExecStart=/usr/share/mdadm/mdcheck --duration ${MDADM_CHECK_DURATION} |