Start script
This commit is contained in:
parent
5afcd633d5
commit
84d54ed276
1 changed files with 16 additions and 0 deletions
16
start.sh
Normal file
16
start.sh
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
#!/bin/ash
|
||||||
|
# shellcheck shell=dash
|
||||||
|
|
||||||
|
JAVA_BIN="/usr/lib/jvm/default-jvm/bin/java"
|
||||||
|
PIPED="/home/piped/piped.jar"
|
||||||
|
|
||||||
|
"$JAVA_BIN" -server \
|
||||||
|
-Xmx1G \
|
||||||
|
-XX:+UnlockExperimentalVMOptions \
|
||||||
|
-XX:+OptimizeStringConcat \
|
||||||
|
-XX:+UseStringDeduplication \
|
||||||
|
-XX:+UseCompressedOops \
|
||||||
|
-XX:+UseNUMA \
|
||||||
|
-XX:+UseG1GC \
|
||||||
|
-Xshare:on \
|
||||||
|
-jar "$PIPED"
|
Loading…
Add table
Reference in a new issue