fix the problem that isula-build service did not stop after it removed
This commit is contained in:
parent
93577d56b3
commit
1ff3dea0e0
@ -1 +1 @@
|
|||||||
0.9.6-18
|
0.9.6-20
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
37aa4197d30b2780332cd40479f3231a775b212f
|
95b999499ce3a99101bab07e03a95e8eaf792288
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: isula-build
|
Name: isula-build
|
||||||
Version: 0.9.6
|
Version: 0.9.6
|
||||||
Release: 19
|
Release: 20
|
||||||
Summary: A tool to build container images
|
Summary: A tool to build container images
|
||||||
License: Mulan PSL V2
|
License: Mulan PSL V2
|
||||||
URL: https://gitee.com/openeuler/isula-build
|
URL: https://gitee.com/openeuler/isula-build
|
||||||
@ -75,6 +75,16 @@ if ! getent group isula > /dev/null; then
|
|||||||
groupadd --system isula
|
groupadd --system isula
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
%preun
|
||||||
|
%if 0%{?is_systemd}
|
||||||
|
%systemd_preun isula-build
|
||||||
|
%else
|
||||||
|
if [ $1 -eq 0 ] ; then
|
||||||
|
/sbin/service isula-build stop >/dev/null 2>&1
|
||||||
|
/sbin/chkconfig --del isula-build
|
||||||
|
fi
|
||||||
|
%endif
|
||||||
|
|
||||||
%files
|
%files
|
||||||
# default perm for files and folder
|
# default perm for files and folder
|
||||||
%defattr(0640,root,root,0550)
|
%defattr(0640,root,root,0550)
|
||||||
@ -92,6 +102,12 @@ fi
|
|||||||
/usr/share/bash-completion/completions/isula-build
|
/usr/share/bash-completion/completions/isula-build
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Dec 26 2023 daisicheng <daisicheng@huawei.com> - 0.9.6-20
|
||||||
|
- Type:bugfix
|
||||||
|
- CVE:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:fix the problem that isula-build service did not stop after it removed
|
||||||
|
|
||||||
* Wed Mar 15 2023 laokz <zhangkai@iscas.ac.cn> - 0.9.6-19
|
* Wed Mar 15 2023 laokz <zhangkai@iscas.ac.cn> - 0.9.6-19
|
||||||
- Type:enhancement
|
- Type:enhancement
|
||||||
- CVE:NA
|
- CVE:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user