summaryrefslogtreecommitdiff
path: root/systemd/mdmonitor.service
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/mdmonitor.service')
-rw-r--r--systemd/mdmonitor.service5
1 files changed, 1 insertions, 4 deletions
diff --git a/systemd/mdmonitor.service b/systemd/mdmonitor.service
index c7cff3e..9aff2f5 100644
--- a/systemd/mdmonitor.service
+++ b/systemd/mdmonitor.service
@@ -10,7 +10,4 @@ Description=MD array monitor
DefaultDependencies=no
[Service]
-Environment= MDADM_MONITOR_ARGS=--scan
-EnvironmentFile=-/run/sysconfig/mdadm
-ExecStartPre=-/usr/lib/systemd/scripts/mdadm_env.sh
-ExecStart=BINDIR/mdadm --monitor $MDADM_MONITOR_ARGS
+ExecStart=BINDIR/mdadm --monitor --scan