diff --git a/mdmonitor.service b/mdmonitor.service index 123ae8a..94618f1 100644 --- a/mdmonitor.service +++ b/mdmonitor.service @@ -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