Skip to content

Commit

Permalink
feat: add http service to start script
Browse files Browse the repository at this point in the history
  • Loading branch information
imotai committed Oct 17, 2023
1 parent aaac92a commit 14fa087
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker/start_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,11 @@ then
fi
echo "start kernel.."
cd ${ROOT_DIR}/kernel && hap run -n octopus_kernel -- og_kernel_rpc_server >> ${ROOT_DIR}/logs/kernel_rpc.log 2>&1
cd ${ROOT_DIR}/kernel && hap run -n octogen_kernel -- og_kernel_rpc_server >> ${ROOT_DIR}/logs/kernel_rpc.log 2>&1
echo "start agent.."
cd ${ROOT_DIR}/agent && hap run -n octopus_agent -- og_agent_rpc_server >> ${ROOT_DIR}/logs/agent_rpc.log 2>&1
cd ${ROOT_DIR}/agent && hap run -n octogen_agent -- og_agent_rpc_server >> ${ROOT_DIR}/logs/agent_rpc.log 2>&1
cd ${ROOT_DIR}/agent && hap run -n octogen_api -- og_agent_http_server >> ${ROOT_DIR}/logs/agent_http.log 2>&1
while true
do
Expand Down
2 changes: 2 additions & 0 deletions up/src/og_up/up.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,8 @@ def start_service(
"octogen",
"-p",
"127.0.0.1:9528:9528",
"-p",
"127.0.0.1:9529:9529",
"-v",
f"{install_dir}:/app",
"-dt",
Expand Down

0 comments on commit 14fa087

Please sign in to comment.