SHA256
1
0
forked from pool/mdadm
mdadm/mdmon-.service-remove-over-ride-of-Standard-IO.patch

25 lines
787 B
Diff
Raw Normal View History

From 1f6b069494c1ecf8014a76fb10e8c8f5f6c27365 Mon Sep 17 00:00:00 2001
From: NeilBrown <neilb@suse.de>
Date: Wed, 22 Jan 2014 12:53:31 +1100
Subject: [PATCH 13/13] mdmon@.service: remove over-ride of Standard IO.
Redirecting output to /dev/null is unnecessary and hides any error
messages there might be. So leave as defaults which are none,
journal, inherit.
Signed-off-by: NeilBrown <neilb@suse.de>
---
systemd/mdmon@.service | 3 ---
1 file changed, 3 deletions(-)
--- mdadm-3.3.orig/systemd/mdmon@.service
+++ mdadm-3.3/systemd/mdmon@.service
@@ -15,7 +15,4 @@ Before=initrd-switch-root.target
# that is mdadm's job if at all.
Environment=IMSM_NO_PLATFORM=1
ExecStart=/sbin/mdmon --foreground %I
-StandardInput=null
-StandardOutput=null
-StandardError=null
KillMode=none