diff --git a/ct/lobehub.sh b/ct/lobehub.sh index 3f52e758..16921a14 100644 --- a/ct/lobehub.sh +++ b/ct/lobehub.sh @@ -47,7 +47,7 @@ function update_script() { msg_info "Building Application" cd /opt/lobehub - export NODE_OPTIONS="--max-old-space-size=4096" + export NODE_OPTIONS="--max-old-space-size=8192" $STD pnpm install $STD pnpm run build:docker unset NODE_OPTIONS diff --git a/install/lobehub-install.sh b/install/lobehub-install.sh index cacc8bac..c79da182 100644 --- a/install/lobehub-install.sh +++ b/install/lobehub-install.sh @@ -43,7 +43,7 @@ fetch_and_deploy_gh_release "lobehub" "lobehub/lobehub" "tarball" msg_info "Building Application" cd /opt/lobehub -export NODE_OPTIONS="--max-old-space-size=4096" +export NODE_OPTIONS="--max-old-space-size=8192" export DATABASE_URL="postgres://${PG_DB_USER}:${PG_DB_PASS}@localhost:5432/${PG_DB_NAME}" export DATABASE_DRIVER="node" export KEY_VAULTS_SECRET="$(openssl rand -base64 32)" diff --git a/install/openthread-br-install.sh b/install/openthread-br-install.sh index 1c124e50..af712317 100644 --- a/install/openthread-br-install.sh +++ b/install/openthread-br-install.sh @@ -77,7 +77,8 @@ cat </etc/default/otbr-agent # TCP example: spinel+hdlc+uart://192.168.1.100:9999 OTBR_AGENT_OPTS="-I wpan0 -B eth0 spinel+hdlc+uart:///dev/ttyACM0" EOF -systemctl enable -q dbus rsyslog bind9 otbr-agent otbr-web +systemctl enable -q dbus rsyslog otbr-agent otbr-web +systemctl enable -q bind9 2>/dev/null || systemctl enable -q named 2>/dev/null || true systemctl start -q dbus rsyslog bind9 msg_ok "Configured Services"