dcavalca / rpms / mdadm

Forked from rpms/mdadm 3 years ago
Clone
c8f3db
[Unit]
c8f3db
Description=Software RAID monitoring and management
c8f3db
After=syslog.target
c8f3db
ConditionPathExists=/etc/mdadm.conf
c8f3db
c8f3db
[Service]
c8f3db
Type=forking
c8f3db
PIDFile=/var/run/mdadm/mdadm.pid
c8f3db
Environment= MDADM_MONITOR_ARGS=--scan
c8f3db
EnvironmentFile=-/etc/sysconfig/mdmonitor
c8f3db
ExecStart=/sbin/mdadm --monitor $MDADM_MONITOR_ARGS -f --pid-file=/var/run/mdadm/mdadm.pid
c8f3db
c8f3db
[Install]
c8f3db
WantedBy=multi-user.target