Skip to content

Commit

Permalink
fix: fix the start up script
Browse files Browse the repository at this point in the history
  • Loading branch information
imotai committed Oct 23, 2023
1 parent bdd12fa commit 220ec62
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docker/start_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ then
fi
echo "start kernel.."
cd ${ROOT_DIR}/kernel && hap run -n octogen_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}/kernel/logs/kernel_rpc.log 2>&1
echo "start agent.."
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
cd ${ROOT_DIR}/agent && hap run -n octogen_agent -- og_agent_rpc_server >> ${ROOT_DIR}/agent/logs/agent_rpc.log 2>&1
cd ${ROOT_DIR}/agent && hap run -n octogen_api -- og_agent_http_server >> ${ROOT_DIR}/agent/logs/agent_http.log 2>&1
while true
do
Expand Down
3 changes: 0 additions & 3 deletions up/src/og_up/up.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,11 @@
Welcome to use {OCTOGEN_TITLE}
"""


def random_str(n):
# generating random strings
res = "".join(random.choices(string.ascii_uppercase + string.digits, k=n))
return str(res)


def run_install_cli(live, segments):
"""
Install the octogen chat cli
Expand Down Expand Up @@ -69,7 +67,6 @@ def run_install_cli(live, segments):
refresh(live, segments)
return False


def refresh(
live,
segments,
Expand Down

0 comments on commit 220ec62

Please sign in to comment.