Created
November 28, 2023 03:28
-
-
Save Montandalar/c42966a54bec1f78d4a8e0a35f3a194f to your computer and use it in GitHub Desktop.
Very rudimentary launcher for multiple shell scripts to keep Minetest servers running
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
while true; do | |
minetest --server --config ~/.minetest/1.conf --world ~/.minetest/worlds/world1 --port 30000 | |
sleep 1 | |
done; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
while true; do | |
minetest --server --config ~/.minetest/2.conf --world ~/.minetest/worlds/world2 --port 30001 | |
sleep 1 | |
done; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./launch_server1.sh & | |
./launch_server2.sh & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment