ddc448366d | ||
---|---|---|
LICENSE | ||
README.md | ||
README.pdf | ||
minetest | ||
startminetest |
README.md
Minetest Startup Scripts (2.2.0)
Startup scripts for the Minetest sandbox software - uses the "screen" command to manage session. This also restarts the Minetest process if it crashes.
Official support sites: Official Github Repo - Official Forum - Official Download Area
These start up the Minetest server at boot time with a "screen" process.
- Copy minetest into /etc/init.d - make sure it is executable
- Copy startminetest into /root/minetest - make sure it is executable
- Run "systemctl enable minetest" (only needed once, will stick)
- Run "systemctl start minetest" - starts Minetest without restarting the server
When you want to view the Minetest console, just enter "screen -r" in your shell.
To disconnect from the Minetest console just press CTRL-A CTRL-D. This will leave it running and you can reconnect to it again.
I have only tested this on a Ubuntu 16.04 server...
If you want to turn off the server respawning type "touch /root/minetest/nostart". To reenable it type "rm /root/minetest/nostart".
Note: If you don't already have the "screen" tool installed you will need to install it by "sudo apt-get install screen".