1 2 3 4 5 6 7
#!/bin/bash set -e export JAVA_HOME=/usr/lib/jvm/java-17-openjdk cd "/opt/slimevr-server/" "${JAVA_HOME}/bin/java" -jar slimevr.jar run