mirror of
https://github.com/nezhahq/nezha.git
synced 2025-01-22 20:58:14 -05:00
🐛 fix(shell)
This commit is contained in:
parent
9c1a1c27ec
commit
b230e718f9
@ -200,7 +200,7 @@ modify_agent_config() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -z "${nz_rpc_port}" ]]; then
|
if [[ -z "${nz_rpc_port}" ]]; then
|
||||||
$nz_rpc_port=5555
|
nz_rpc_port=5555
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sed -i "s/nz_rpc_host/${nz_rpc_host}/" ${NZ_AGENT_SERVICE}
|
sed -i "s/nz_rpc_host/${nz_rpc_host}/" ${NZ_AGENT_SERVICE}
|
||||||
@ -252,10 +252,10 @@ modify_dashboard_config() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -z "${nz_site_port}" ]]; then
|
if [[ -z "${nz_site_port}" ]]; then
|
||||||
$nz_site_port=8008
|
nz_site_port=8008
|
||||||
fi
|
fi
|
||||||
if [[ -z "${nz_rpc_port}" ]]; then
|
if [[ -z "${nz_rpc_port}" ]]; then
|
||||||
$nz_rpc_port=5555
|
nz_rpc_port=5555
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sed -i "s/nz_admin_ids/${nz_admin_ids}/" ${NZ_DASHBOARD_PATH}/data/config.yaml
|
sed -i "s/nz_admin_ids/${nz_admin_ids}/" ${NZ_DASHBOARD_PATH}/data/config.yaml
|
||||||
|
Loading…
Reference in New Issue
Block a user