Voxelands Forum

The official Voxelands discussion forum

You are not logged in.

#1 2017-09-06 19:49:59

usename135
Member
Registered: 2017-05-07
Posts: 25

Server Auto Restart Tip [linux]

This is just a tip for making your server restart automatically if it crashes for anyone who doesn't know.
It works using a bash script. Ex:
#!/bin/bash -x
cd /path/voxelands/bin
while true
do
./voxelands-server
done
How it works:
The script reruns ./voxelands-server causing the server to start again after the server exits. (an crash can cause the server to exit)
To get out of the script Ctrl^C can be used.

Offline

Board footer

Powered by FluxBB