summaryrefslogtreecommitdiffstats
path: root/systemd/mdmon@.service
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/mdmon@.service')
-rw-r--r--systemd/mdmon@.service3
1 files changed, 3 insertions, 0 deletions
diff --git a/systemd/mdmon@.service b/systemd/mdmon@.service
index 809f5273..2d0bcd8f 100644
--- a/systemd/mdmon@.service
+++ b/systemd/mdmon@.service
@@ -11,6 +11,9 @@ DefaultDependencies=no
Before=initrd-switch-root.target
[Service]
+# mdmon should never complain due to lack of a platform,
+# that is mdadm's job if at all.
+Environment=IMSM_NO_PLATFORM=1
ExecStart=/sbin/mdmon --foreground %I
StandardInput=null
StandardOutput=null