From d1d68e0f6cbf63f0633808bc64eee0d8140cf16e Mon Sep 17 00:00:00 2001 From: xietangxin Date: Tue, 6 Dec 2022 10:49:51 +0800 Subject: [PATCH] fix: add restart service when update software (cherry picked from commit b92752cb55a0e262063af59bc29e09cc1bd2e933) --- gala-spider.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gala-spider.spec b/gala-spider.spec index 562f74b..07bfbce 100644 --- a/gala-spider.spec +++ b/gala-spider.spec @@ -2,7 +2,7 @@ Name: gala-spider Version: 1.0.0 -Release: 3 +Release: 4 Summary: OS topological graph storage service and cause inference service for gala-ops project License: MulanPSL2 URL: https://gitee.com/openeuler/gala-spider @@ -66,7 +66,7 @@ fi %systemd_preun gala-spider.service %postun -%systemd_postun gala-spider.service +%systemd_postun_with_restart gala-spider.service %pre -n gala-inference @@ -81,7 +81,7 @@ fi %systemd_preun gala-inference.service %postun -n gala-inference -%systemd_postun gala-inference.service +%systemd_postun_with_restart gala-inference.service %files @@ -115,6 +115,9 @@ fi %changelog +* Mon Dec 5 2022 tangxin xie - 1.0.0-4 +- add restart service when update software + * Tue Nov 22 2022 algorithmofdish - 1.0.0-3 - Cause inference optimization