Merge #4 mdmonitor.service: update PIDFile path to non-legacy location

This commit is contained in:
Xiao Ni 2019-06-04 03:26:54 +00:00
commit 426ad2794d

View File

@ -4,7 +4,7 @@ ConditionPathExists=/etc/mdadm.conf
[Service]
Type=forking
PIDFile=/var/run/mdadm/mdadm.pid
PIDFile=/run/mdadm/mdadm.pid
EnvironmentFile=-/etc/sysconfig/mdmonitor
ExecStart=/sbin/mdadm --monitor --scan -f --pid-file=/var/run/mdadm/mdadm.pid