Piped-Alpine/start.sh

17 lines
358 B
Bash
Raw Permalink Normal View History

2023-07-03 14:37:38 +03:00
#!/bin/ash
# shellcheck shell=dash
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 \
-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"