add enable automatic startup

(cherry picked from commit b3cb8364750ed2d5a95ab775c91f9a6cf7cecea2)
This commit is contained in:
fly_1997 2024-06-27 11:44:49 +08:00 committed by openeuler-sync-bot
parent 1f4e1719e5
commit 03dc71ac73

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