]> git.ipfire.org Git - thirdparty/mdadm.git/blob - systemd/mdmon@.service
Add support for launching mdmon via systemctl instead of fork/exec
[thirdparty/mdadm.git] / systemd / mdmon@.service
1 # This file is part of mdadm.
2 #
3 # mdadm is free software; you can redistribute it and/or modify it
4 # under the terms of the GNU General Public License as published by
5 # the Free Software Foundation; either version 2 of the License, or
6 # (at your option) any later version.
7
8 [Unit]
9 Description=MD Metadata Monitor on /dev/%I
10 DefaultDependencies=no
11 Before=initrd-switch-root.target
12
13 [Service]
14 ExecStart=/sbin/mdmon %I
15 StandardInput=null
16 StandardOutput=null
17 StandardError=null
18 KillMode=none