!118 [sync] PR-117: mdmonitor.service: add conditional judgment to avoid service startup failed
From: @openeuler-sync-bot Reviewed-by: @swf504 Signed-off-by: @swf504
This commit is contained in:
commit
d091747a09
@ -1,6 +1,6 @@
|
||||
Name: mdadm
|
||||
Version: 4.2
|
||||
Release: 16
|
||||
Release: 17
|
||||
Summary: The software RAID arrays user manage tools
|
||||
License: GPLv2+
|
||||
URL: http://www.kernel.org/pub/linux/utils/raid/mdadm/
|
||||
@ -96,6 +96,9 @@ install -d -m 710 %{buildroot}/var/run/mdadm/
|
||||
%{_mandir}/man*/*
|
||||
|
||||
%changelog
|
||||
* Wed Jul 17 2024 wuguanghao <wuguanghao3@huawei.com> - 4.2-17
|
||||
- mdmonitor.service: add conditional judgment to avoid service startup failed
|
||||
|
||||
* Mon Jun 24 2024 wuguanghao <wuguanghao3@huawei.com> - 4.2-16
|
||||
- Manage: fix check after dereference issue
|
||||
|
||||
|
||||
@ -10,6 +10,7 @@ Description=MD array monitor
|
||||
DefaultDependencies=no
|
||||
Wants=systemd-tmpfiles-setup.service
|
||||
After=systemd-tmpfiles-setup.service
|
||||
ConditionPathExistsGlob=/dev/md*
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user