5 lines
156 B
Bash
5 lines
156 B
Bash
|
until "${1}/"startserver.sh -configfile="${1}/"serverconfig.xml; do
|
||
|
echo "Server died with code $?, restarting in 60 seconds..." >&2
|
||
|
sleep 60;
|
||
|
done
|