fix: add restart service when update software

(cherry picked from commit b92752cb55a0e262063af59bc29e09cc1bd2e933)
This commit is contained in:
xietangxin 2022-12-06 10:49:51 +08:00 committed by openeuler-sync-bot
parent 36f8228dd2
commit d1d68e0f6c

View File

@ -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 <xietangxin@huawei.com> - 1.0.0-4
- add restart service when update software
* Tue Nov 22 2022 algorithmofdish <hexiujun1@huawei.com> - 1.0.0-3
- Cause inference optimization