Minecraft-Server-Tools/start_server.sh

9 lines
182 B
Bash
Raw Normal View History

2021-10-09 21:23:22 +02:00
#!/bin/bash
COMMAND="echo Put server command here."
2021-10-09 21:23:22 +02:00
echo "Starting Server with command \"$COMMAND\" in $PWD"
$COMMAND
EXIT=$?
echo "Server stopped with exit-code $EXIT."
exit $EXIT