!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:
openeuler-ci-bot 2024-07-18 09:06:20 +00:00 committed by Gitee
commit d091747a09
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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