Fix mdmonitor-takeover.service dangling symlink for real this time

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
This commit is contained in:
Jes Sorensen 2013-01-07 17:50:35 +01:00
parent fe785fe1f6
commit 157ee38ddb

View File

@ -1,7 +1,7 @@
Summary: The mdadm program controls Linux md devices (software RAID arrays)
Name: mdadm
Version: 3.2.6
Release: 9%{?dist}
Release: 10%{?dist}
Source: http://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-%{version}.tar.xz
Source1: mdmonitor.init
Source2: raid-check
@ -118,9 +118,10 @@ rm -rf %{buildroot}
%post
%systemd_post mdmonitor.service
/usr/bin/systemctl disable mdmonitor-takeover.service >/dev/null 2>&1 || :
%preun
%systemd_preun mdmonitor.service mdmonitor-takeover.service
%systemd_preun mdmonitor.service
%postun
%systemd_postun_with_restart mdmonitor.service