summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Tokarev <mjt@tls.msk.ru>2014-11-14 19:18:05 +0300
committerDimitri John Ledkov <xnox@ubuntu.com>2018-05-15 12:10:33 +0100
commitf479c816f53ae74c4229361738a725f04c78f9e5 (patch)
tree5cea940c20612540d10f5ffc57ff96dc1e38fa58
parent6357bd6b059f59af975b40117c49b300a1adff22 (diff)
simplify mdmonitor.servicearchive/debian/4.1_rc1-1
There isn't much for customization for mdadm --monitor. it'll just do what it's supposed to do, so just run it. Gbp-Pq: Name mdmonitor-service-simplify.diff
-rw-r--r--systemd/mdmonitor.service5
1 files changed, 1 insertions, 4 deletions
diff --git a/systemd/mdmonitor.service b/systemd/mdmonitor.service
index 46f7b88..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/mdadm/mdadm_env.sh
-ExecStart=BINDIR/mdadm --monitor $MDADM_MONITOR_ARGS
+ExecStart=BINDIR/mdadm --monitor --scan