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