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

This commit is contained in:
Christian Stadelmann 2019-04-17 08:37:28 +00:00
parent 8919479e90
commit 2c0d32847a

View File

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