Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
1df47e56
Commit
1df47e56
authored
Jul 24, 2019
by
季圣华
Browse files
更改启动文件的非堆最大内存限制值
parent
65df87cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/bin/run-manage.sh
View file @
1df47e56
FILE_PATH
=
FILE_PATH
=
/home/jshERP2.0
SERVER_NAME
=
jshERP
readonly
APP_HOME
=
${
FILE_PATH
:-
$(
dirname
$(
cd
`
dirname
$0
`
;
pwd
))
}
...
...
@@ -13,7 +13,7 @@ readonly APP_MAIN_CLASS="jshERP2.0.jar"
readonly
LOG_CONFIG
=
"
$CONFIG_HOME
/logback-spring.xml"
readonly
JAVA_RUN
=
"-Dlogs.home=
$LOGS_HOME
-Dlogging.config=
$LOG_CONFIG
-Dspring.config.location=file:
$CONFIG_HOME
-Dspring.pid.file=
$PID_FILE
-Dspring.pid.fail-on-write-error=true"
readonly
JAVA_OPTS
=
"-server -Xms128m -Xmx3
76
m -XX:PermSize=128M -XX:MaxPermSize=256M
$JAVA_RUN
"
readonly
JAVA_OPTS
=
"-server -Xms128m -Xmx3
20
m -XX:PermSize=128M -XX:MaxPermSize=256M
$JAVA_RUN
"
readonly
JAVA
=
"java"
...
...
@@ -47,7 +47,7 @@ fi
function
install
(){
if
[[
!
-n
$FILE_PATH
]]
;
then
sed
-i
"s#FILE_PATH=#FILE_PATH=
$APP_HOME
#"
$APP_HOME
/
$0
sed
-i
"s#FILE_PATH=
/home/jshERP2.0
#FILE_PATH=
$APP_HOME
#"
$APP_HOME
/
$0
if
[[
-e
/usr/sbin/
$SERVER_NAME
||
-L
/usr/sbin/
$SERVER_NAME
]]
;
then
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment