11 lines
217 B
Bash
Executable File
11 lines
217 B
Bash
Executable File
#!/bin/bash
|
|
cd "$(dirname "$0")"
|
|
if ! [[ -e ./vars ]] ; then
|
|
echo 'Please create a "vars" file using "vars.example" as a template'
|
|
exit 1
|
|
fi
|
|
source ./vars
|
|
|
|
command "$JAVA" $JAVA_PARAMS -jar "$SERVER" nogui
|
|
sleep 10
|