!56 [sync] PR-53: add enable automatic startup

From: @openeuler-sync-bot 
Reviewed-by: @ksana123 
Signed-off-by: @ksana123
This commit is contained in:
openeuler-ci-bot 2024-07-09 07:34:41 +00:00 committed by Gitee
commit 76de16a51e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: oeAware-manager
Version: v1.0.2
Release: 1
Release: 2
Summary: OeAware server and client
License: MulanPSL2
URL: https://gitee.com/openeuler/%{name}
@ -16,7 +16,7 @@ BuildRequires: gtest-devel gmock-devel
Requires: oeAware-collector >= v1.0.2
Requires: oeAware-scenario >= v1.0.2
Requires: oeAware-tune >= v1.0.0
Requires: graphviz yaml-cpp curl log4cplus boost
Requires: graphviz yaml-cpp curl log4cplus boost systemd
%description
%{name} provides server and client to manager plugins.
@ -41,6 +41,7 @@ install -D -p -m 0644 oeaware.service %{buildroot}%{_unitdir}/oeaware.service
%post
systemctl start oeaware.service
systemctl enable oeaware.service
%files
%attr(0750, root, root) %{_bindir}/oeaware
@ -49,6 +50,9 @@ systemctl start oeaware.service
%attr(0644, root, root) %{_unitdir}/oeaware.service
%changelog
* Thu Jun 27 2024 fly_1997 <flylove7@outlook.com> -v1.0.2-2
- add enable automatic startup
* Thu Jun 20 2024 fly_1997 <flylove7@outlook.com> -v1.0.2-1
- update version to v1.0.2-1