Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
script-jar
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
linkcld
script-jar
Commits
476239b7
Commit
476239b7
authored
5 months ago
by
汪虎
Browse files
Options
Downloads
Patches
Plain Diff
脚本变量位置变更
parent
0516f2b3
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
batch_jar_script_upgrade.sh
+1
-0
1 addition, 0 deletions
batch_jar_script_upgrade.sh
scripts/exec/bin/update_zip.sh
+0
-1
0 additions, 1 deletion
scripts/exec/bin/update_zip.sh
with
1 addition
and
1 deletion
batch_jar_script_upgrade.sh
+
1
−
0
View file @
476239b7
...
...
@@ -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
=
""
...
...
This diff is collapsed.
Click to expand it.
scripts/exec/bin/update_zip.sh
+
0
−
1
View file @
476239b7
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment