diff --git a/scripts/addons/codeserver/install.sh b/scripts/addons/codeserver/install.sh index 2b5d7f5..7cc6d61 100644 --- a/scripts/addons/codeserver/install.sh +++ b/scripts/addons/codeserver/install.sh @@ -113,9 +113,9 @@ if [ -f "${PID_FILE}" ] && kill -0 "$(cat "${PID_FILE}")" 2>/dev/null; then echo "[code-server] already running" else rm -f "${PID_FILE}" - echo "[code-server] action=service_launch command=\"${BIN} --bind-addr 0.0.0.0:${PORT} --auth none --disable-telemetry ${WORKSPACE_DIR}\"" + echo "[code-server] action=service_launch command=\"${BIN} --config ${CONFIG_FILE} ${WORKSPACE_DIR}\"" HOME="/home/dev" USER="dev" LOGNAME="dev" \ - nohup "${BIN}" --bind-addr "0.0.0.0:${PORT}" --auth none --disable-telemetry "${WORKSPACE_DIR}" >"${LOG_FILE}" 2>&1 & + nohup "${BIN}" --config "${CONFIG_FILE}" "${WORKSPACE_DIR}" >"${LOG_FILE}" 2>&1 & echo $! > "${PID_FILE}" fi