scripts when uninstall in %preun and %postun should watchdog-ping.service but not watchdog.ping.service
This commit is contained in:
parent
09b447a76b
commit
57afc28861
@ -47,11 +47,11 @@ install -Dd -m0755 %{buildroot}%{_libexecdir}/watchdog/scripts
|
|||||||
|
|
||||||
%preun
|
%preun
|
||||||
%systemd_preun watchdog.service
|
%systemd_preun watchdog.service
|
||||||
%systemd_preun watchdog.ping.service
|
%systemd_preun watchdog-ping.service
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
%systemd_postun_with_restart watchdog.service
|
%systemd_postun_with_restart watchdog.service
|
||||||
%systemd_postun_with_restart watchdog.ping.service
|
%systemd_postun_with_restart watchdog-ping.service
|
||||||
|
|
||||||
%triggerun -- watchdog < 5.9-4
|
%triggerun -- watchdog < 5.9-4
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user