!36 service auto start after install

From: @wangjiang37 
Reviewed-by: @yanan-rock, @t_feng 
Signed-off-by: @t_feng, @yanan-rock
This commit is contained in:
openeuler-ci-bot 2023-04-18 01:51:36 +00:00 committed by Gitee
commit 18bf30eef4
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: sysstat
Version: 12.6.2
Release: 1
Release: 2
Summary: System performance tools for the Linux operating system
License: GPLv2+
URL: http://sebastien.godard.pagesperso-orange.fr/
@ -72,6 +72,9 @@ export compressafter="31"
%postun
%systemd_postun sysstat.service sysstat-collect.timer sysstat-summary.timer
%posttrans
/usr/bin/systemctl enable sysstat.service >/dev/null 2>&1
%files -f %{name}.lang
%doc CHANGES COPYING CREDITS FAQ.md README.md %{name}-%{version}.lsm
%config(noreplace) %{_sysconfdir}/sysconfig/sysstat
@ -83,6 +86,9 @@ export compressafter="31"
%{_mandir}/man*/*
%changelog
* Fri Apr 14 2023 wangjiang <wangjiang37@h-partners.com> - 12.6.2-2
- service auto start after install
* Fri Feb 03 2023 zhangpan <zhangpan@h-partners.com> - 12.6.2-1
- update to 12.6.2