change the configuration path to /opt
This commit is contained in:
parent
8baa4349c5
commit
38940eb9a9
Binary file not shown.
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: PilotGo-plugin-topology
|
Name: PilotGo-plugin-topology
|
||||||
Version: 1.0.1
|
Version: 1.0.1
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: system application architecture detection plugin for PilotGo
|
Summary: system application architecture detection plugin for PilotGo
|
||||||
License: MulanPSL-2.0
|
License: MulanPSL-2.0
|
||||||
URL: https://gitee.com/openeuler/PilotGo-plugin-topology
|
URL: https://gitee.com/openeuler/PilotGo-plugin-topology
|
||||||
@ -44,25 +44,26 @@ GO111MODULE=on go build -mod=vendor -o PilotGo-plugin-topology-agent main.go
|
|||||||
%install
|
%install
|
||||||
# server
|
# server
|
||||||
install -D -m 0755 server/PilotGo-plugin-topology-server %{buildroot}%{_bindir}/PilotGo-plugin-topology-server
|
install -D -m 0755 server/PilotGo-plugin-topology-server %{buildroot}%{_bindir}/PilotGo-plugin-topology-server
|
||||||
install -D -m 0644 conf/config_server.yaml.templete %{buildroot}%{_sysconfdir}/PilotGo/plugin/topology/server/config_server.yaml
|
install -D -m 0644 conf/config_server.yaml.templete %{buildroot}/opt/PilotGo/plugin/topology/server/config_server.yaml
|
||||||
install -D -m 0644 scripts/PilotGo-plugin-topology-server.service %{buildroot}%{_unitdir}/PilotGo-plugin-topology-server.service
|
install -D -m 0644 scripts/PilotGo-plugin-topology-server.service %{buildroot}/usr/lib/systemd/system/PilotGo-plugin-topology-server.service
|
||||||
# agent
|
# agent
|
||||||
install -D -m 0755 agent/PilotGo-plugin-topology-agent %{buildroot}%{_bindir}/PilotGo-plugin-topology-agent
|
install -D -m 0755 agent/PilotGo-plugin-topology-agent %{buildroot}%{_bindir}/PilotGo-plugin-topology-agent
|
||||||
install -D -m 0644 conf/config_agent.yaml.templete %{buildroot}%{_sysconfdir}/PilotGo/plugin/topology/agent/config_agent.yaml
|
install -D -m 0644 conf/config_agent.yaml.templete %{buildroot}/opt/PilotGo/plugin/topology/agent/config_agent.yaml
|
||||||
install -D -m 0644 scripts/PilotGo-plugin-topology-agent.service %{buildroot}%{_unitdir}/PilotGo-plugin-topology-agent.service
|
install -D -m 0644 scripts/PilotGo-plugin-topology-agent.service %{buildroot}/usr/lib/systemd/system/PilotGo-plugin-topology-agent.service
|
||||||
|
|
||||||
%files server
|
%files server
|
||||||
%{_bindir}/PilotGo-plugin-topology-server
|
%{_bindir}/PilotGo-plugin-topology-server
|
||||||
%{_sysconfdir}/PilotGo/plugin/topology/server/config_server.yaml
|
/opt/PilotGo/plugin/topology/server/config_server.yaml
|
||||||
%{_unitdir}/PilotGo-plugin-topology-server.service
|
/usr/lib/systemd/system/PilotGo-plugin-topology-server.service
|
||||||
|
|
||||||
%files agent
|
%files agent
|
||||||
%{_bindir}/PilotGo-plugin-topology-agent
|
%{_bindir}/PilotGo-plugin-topology-agent
|
||||||
%{_sysconfdir}/PilotGo/plugin/topology/agent/config_agent.yaml
|
/opt/PilotGo/plugin/topology/agent/config_agent.yaml
|
||||||
%{_unitdir}/PilotGo-plugin-topology-agent.service
|
/usr/lib/systemd/system/PilotGo-plugin-topology-agent.service
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Oct 18 2023 wangjunqi <wangjunqi@kylinos.cn> - 1.0.1-2
|
||||||
|
- change configuration file path to /opt
|
||||||
|
|
||||||
* Tue Oct 10 2023 wangjunqi <wangjunqi@kylinos.cn> - 1.0.1-1
|
* Tue Oct 10 2023 wangjunqi <wangjunqi@kylinos.cn> - 1.0.1-1
|
||||||
- Package init
|
- Package init
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user