030419821f
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>
19 lines
506 B
Desktop File
19 lines
506 B
Desktop File
# This file is part of mdadm.
|
|
#
|
|
# mdadm is free software; you can redistribute it and/or modify it
|
|
# under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
# (at your option) any later version.
|
|
|
|
[Unit]
|
|
Description=MD Metadata Monitor on /dev/%I
|
|
DefaultDependencies=no
|
|
Before=initrd-switch-root.target
|
|
|
|
[Service]
|
|
ExecStart=/sbin/mdmon --foreground %I
|
|
StandardInput=null
|
|
StandardOutput=null
|
|
StandardError=null
|
|
KillMode=none
|