mdadm/mdmonitor.service
Milan Broz d00f539784 Use unit files with systemd. (thanks to johannbg)
Add sub-package sysvinit for SysV init script.
Resolves: bz713573
2011-07-07 13:42:10 +02:00

14 lines
330 B
Desktop File

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