From 84d54ed276c01f1096120a36d13d4e2276accf98 Mon Sep 17 00:00:00 2001 From: DarkCat09 Date: Mon, 3 Jul 2023 15:37:38 +0400 Subject: [PATCH] Start script --- start.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 start.sh diff --git a/start.sh b/start.sh new file mode 100644 index 0000000..52d50ab --- /dev/null +++ b/start.sh @@ -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"