We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1255b7f commit 3502ee9Copy full SHA for 3502ee9
2 files changed
web/build-source.sh
@@ -90,5 +90,6 @@ function run_config() {
90
echo '['"${configs:2}"']' >"${CONF_PATH}"/configs.json
91
}
92
93
+yarn
94
run
95
run_config
web/tca-deploy-source/scripts/init.sh
@@ -65,7 +65,7 @@ export NGINX_LOG_PATH=${NGINX_LOG_PATH:-"/var/log/nginx"}
65
function start_nginx() {
66
LOG_INFO "启动 nginx ..."
67
# wc -l 行数计算。当nginx无进程时,启动nginx,否则reload nginx
68
- nginx_is_start=$(ps -C nginx --no-header | wc -l)
+ nginx_is_start=$(ps -C nginx --no-header | wc -l || true)
69
if [ "$nginx_is_start" -eq 0 ]; then
70
nginx -t || error_exit "nginx test failed"
71
if [ "$IS_DOCKER" == "TRUE" ]; then
0 commit comments