change /var/run to /run

This commit is contained in:
hy 2020-03-03 16:08:39 +08:00 committed by Gitee
parent 364187d9b7
commit debc8361c5

View File

@ -12,10 +12,10 @@ ConditionPathExists=/run
[Service]
Type=forking
PIDFile=/var/run/mdadm/mdadm.pid
PIDFile=/run/mdadm/mdadm.pid
Environment= MDADM_MONITOR_ARGS="--scan --syslog"
EnvironmentFile=-/etc/sysconfig/mdadm
ExecStart=/sbin/mdadm --monitor $MDADM_MONITOR_ARGS -f --pid-file=/var/run/mdadm/mdadm.pid
ExecStart=/sbin/mdadm --monitor $MDADM_MONITOR_ARGS -f --pid-file=/run/mdadm/mdadm.pid
[Install]
WantedBy=multi-user.target