5d5466
[Unit]
5d5466
Description=Software RAID monitoring and management
5d5466
ConditionPathExists=/etc/mdadm.conf
5d5466
5d5466
[Service]
5d5466
Type=forking
5d5466
PIDFile=/var/run/mdadm/mdadm.pid
5d5466
EnvironmentFile=-/etc/sysconfig/mdmonitor
5d5466
ExecStart=/sbin/mdadm --monitor --scan -f --pid-file=/var/run/mdadm/mdadm.pid
5d5466
5d5466
[Install]
5d5466
WantedBy=multi-user.target