2011-07-07 11:42:10 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Software RAID monitoring and management
|
|
|
|
ConditionPathExists=/etc/mdadm.conf
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=forking
|
2019-04-17 08:37:28 +00:00
|
|
|
PIDFile=/run/mdadm/mdadm.pid
|
2011-07-07 11:42:10 +00:00
|
|
|
EnvironmentFile=-/etc/sysconfig/mdmonitor
|
2020-01-13 09:05:54 +00:00
|
|
|
ExecStart=/sbin/mdadm --monitor --scan -f --pid-file=/run/mdadm/mdadm.pid
|
2011-07-07 11:42:10 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|