Skip to content
Snippets Groups Projects
Commit 476239b7 authored by 汪虎's avatar 汪虎
Browse files

脚本变量位置变更

parent 0516f2b3
Branches
No related tags found
No related merge requests found
......@@ -200,6 +200,7 @@ call_jar_deployed_script_upgrade() {
export jarappsdir="$project_dir"
export JAVA_FIXED_OPTS="-Djava.security.egd=file:///dev/urandom -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=./logs/heapdump.hprof"
export JAVA_OPTS="-server $java_opts $JAVA_FIXED_OPTS"
export updata_jar_config_dir="config/"
#+ local unmodified_jar_service_file=/linkcld/jarapps/portal-ls-3066/exec/conf/jar.serivce
#+ local service_registration_file=/usr/lib/systemd/system/portal-ls-3066.service
export jar_dir=""
......
......@@ -243,7 +243,6 @@ upgrade_scripts_and_services() {
export tmp_updata_zip_dir_list="$jarappsdir"
export tmp_updata_zip_work_directory="${jar_zip_dir}"
export tmp_updata_zip_manage_temp_dir="${jar_zip_dir}/scripts/exec"
export updata_jar_config_dir="config/"
# 导入包含 main 函数的脚本
source $jar_zip_dir/batch_jar_script_upgrade.sh
if [ $? -eq 0 ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment