This commit is contained in:
parent
61d9c00bda
commit
a734dcdd04
|
@ -0,0 +1,7 @@
|
||||||
|
#!/bin/sh
|
||||||
|
Xmx $1
|
||||||
|
VERTICLE_HOME $2
|
||||||
|
JAR_FILE $3
|
||||||
|
ACTIVE $4
|
||||||
|
|
||||||
|
java -jar -Dfile.encoding=utf-8 -server -Xshareclasses -Xtune:virtualized -Xms512M -Xmx${Xmx} -XX:ReservedCodeCacheSize=240m -XX:InitialCodeCacheSize=240m -XX:+UnlockExperimentalVMOptions -XX:+UseZGC -XX:ConcGCThreads=1 -XX:ParallelGCThreads=2 -XX:ZCollectionInterval=120 -XX:ZAllocationSpikeTolerance=5 -Duser.timezone=GMT+08 ${VERTICLE_HOME}/renren-admin/${JAR_FILE} --spring.profiles.active=${ACTIVE}
|
Loading…
Reference in New Issue