2023-07-03 14:37:38 +03:00
|
|
|
#!/bin/ash
|
|
|
|
# shellcheck shell=dash
|
|
|
|
|
2023-07-20 11:30:34 +03:00
|
|
|
JAVA_BIN="/usr/lib/jvm/java-17-openjdk/bin/java"
|
2023-07-03 14:37:38 +03:00
|
|
|
PIPED="/home/piped/piped.jar"
|
|
|
|
|
|
|
|
"$JAVA_BIN" -server \
|
2023-07-20 11:30:34 +03:00
|
|
|
-Xmx2G \
|
2023-07-03 14:37:38 +03:00
|
|
|
-XX:+UnlockExperimentalVMOptions \
|
|
|
|
-XX:+OptimizeStringConcat \
|
|
|
|
-XX:+UseStringDeduplication \
|
|
|
|
-XX:+UseCompressedOops \
|
|
|
|
-XX:+UseNUMA \
|
|
|
|
-XX:+UseG1GC \
|
|
|
|
-Xshare:on \
|
|
|
|
-jar "$PIPED"
|