diff options
author | NeilBrown <neilb@suse.de> | 2013-02-05 05:57:09 +0100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2013-02-05 05:57:09 +0100 |
commit | 030419821fb77f9955f2017b4a6d3d8139d6db25 (patch) | |
tree | 4654d51c0449c1b83043faea24d7209a55df403e /systemd | |
parent | In case launching mdmon fails, print an error message before exiting (diff) | |
download | mdadm-030419821fb77f9955f2017b4a6d3d8139d6db25.tar.xz mdadm-030419821fb77f9955f2017b4a6d3d8139d6db25.zip |
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@.service | 2 |
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 |