summaryrefslogtreecommitdiff
path: root/systemd
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2013-02-05 15:57:09 +1100
committerNeilBrown <neilb@suse.de>2013-02-05 15:57:09 +1100
commit030419821fb77f9955f2017b4a6d3d8139d6db25 (patch)
tree4654d51c0449c1b83043faea24d7209a55df403e /systemd
parent15c10423aa9435ed72bd292fecca69224a20fdc8 (diff)
mdmon: add --foreground option
While not strictly necessary for systemd, it is cleaner to avoid forking when running from a management daemon. So add a --foreground option to mdmon. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'systemd')
-rw-r--r--systemd/mdmon@.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/systemd/mdmon@.service b/systemd/mdmon@.service
index ddb475f2..809f5273 100644
--- a/systemd/mdmon@.service
+++ b/systemd/mdmon@.service
@@ -11,7 +11,7 @@ DefaultDependencies=no
Before=initrd-switch-root.target
[Service]
-ExecStart=/sbin/mdmon %I
+ExecStart=/sbin/mdmon --foreground %I
StandardInput=null
StandardOutput=null
StandardError=null