From a47427b42536a264088835b6c08b6a8007b4c149 Mon Sep 17 00:00:00 2001 From: herengui Date: Thu, 5 Aug 2021 17:25:32 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3postun=E4=BA=8B=E5=8A=A1?= =?UTF-8?q?=E5=86=85=E5=AE=B9=E4=B8=BA=E7=A9=BA=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: herengui --- alertmanager.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/alertmanager.spec b/alertmanager.spec index 40e6010..615e6d6 100644 --- a/alertmanager.spec +++ b/alertmanager.spec @@ -2,7 +2,7 @@ Name: alertmanager Version: 0.21.0 -Release: 2%{?dist} +Release: 3 Summary: Prometheus Alertmanager. License: ASL 2.0 URL: https://github.com/prometheus/%{name} @@ -56,7 +56,7 @@ exit 0 %systemd_preun %{name}.service %postun -%systemd_postun %{name}.service +%systemd_postun_with_restart %{name}.service %files %defattr(-,root,root,-) @@ -68,5 +68,10 @@ exit 0 %dir %attr(755, prometheus, prometheus)%{_sharedstatedir}/prometheus %changelog +* Thu Aug 05 2021 herengui - 0.21.0-3 +- Type: bugfix +- ID: #I4431I +- DESC: solve empty postun transaction issue. + * Tue Aug 11 2020 houjian - 0.21.0-2 - Package init \ No newline at end of file -- Gitee