Start script

This commit is contained in:
DarkCat09 2023-07-03 15:37:38 +04:00
parent 5afcd633d5
commit 84d54ed276

16
start.sh Normal file
View 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"