Skip to content
This repository has been archived by the owner on Oct 12, 2020. It is now read-only.

Commit

Permalink
Remove the legacy whitespace
Browse files Browse the repository at this point in the history
The whitespace between Environment= and the true value causes confusion.
To avoid confusing other people in future, remove the whitespace to keep
it a simple, unambiguous syntax

Signed-off-by: Xiao Ni <[email protected]>
Signed-off-by: Jes Sorensen <[email protected]>
  • Loading branch information
XiaoNi87 authored and Jes Sorensen committed Feb 24, 2020
1 parent 2551061 commit fd38b8e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion systemd/mdcheck_continue.service
Original file line number Diff line number Diff line change
Expand Up @@ -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}
2 changes: 1 addition & 1 deletion systemd/mdcheck_start.service
Original file line number Diff line number Diff line change
Expand Up @@ -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}
2 changes: 1 addition & 1 deletion systemd/mdmonitor-oneshot.service
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Description=Reminder for degraded MD arrays

[Service]
Environment= MDADM_MONITOR_ARGS=--scan
Environment=MDADM_MONITOR_ARGS=--scan
EnvironmentFile=-/run/sysconfig/mdadm
ExecStartPre=-/usr/lib/mdadm/mdadm_env.sh
ExecStart=BINDIR/mdadm --monitor --oneshot $MDADM_MONITOR_ARGS

0 comments on commit fd38b8e

Please sign in to comment.