Piped-Alpine/start.sh
2023-07-03 15:37:38 +04:00

16 lines
354 B
Bash

#!/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"