Upload files to ''

master
Jan Danielzick 2021-10-09 21:23:22 +02:00
parent d7db267b65
commit 22619c2982
1 changed files with 8 additions and 0 deletions

8
start_server.sh Normal file
View File

@ -0,0 +1,8 @@
#!/bin/bash
COMMAND="/usr/lib/jvm/adoptopenjdk-16-hotspot-jre-amd64/bin/java -Xmx8G @libraries/net/minecraftforge/forge/1.17.1-37.0.59/unix_args.txt nogui"
echo "Starting Server with command \"$COMMAND\" in $PWD"
$COMMAND
EXIT=$?
echo "Server stopped with exit-code $EXIT."
exit $EXIT