#68 Update scripts, docs

This commit is contained in:
Joey Hafner 2022-11-01 00:42:31 -07:00
parent 1fe092dca6
commit 60f9d2f235
3 changed files with 2 additions and 20 deletions

View File

@ -10,7 +10,7 @@ Do not prefix commands with `/`.
## Updating MC-Router mappings
MC-Router must be running for all active MC connections. Restarting it kicks everyone off their servers
To update the mappings while running, use `docker exec mc-router /mc-router --mapping <new-mapping string>`
To update the mappings while running, use `docker exec minecraft_mc-router /mc-router --mapping <new-mapping string>`
## Before Starting a Server
Check the following server.properties values:

View File

@ -1,15 +1,6 @@
#!/bin/bash
echo "==========================================="
echo "===== SHUTTING DOWN MINECRAFT SERVERS ====="
echo "==========================================="
for service in /home/joey/homelab/server/config/minecraft/*.yml
do
echo "===== SHUTTING DOWN $service ====="
docker-compose -f $service down
done
echo "==========================================="
echo "======= SHUTTING DOWN OTHER SERVERS ======="
echo "======= SHUTTING DOWN SERVERS ======="
echo "==========================================="
for service in /home/joey/homelab/server/config/*

View File

@ -9,15 +9,6 @@ do
docker-compose up -d
done
echo "==========================================="
echo "======== STARTING MINECRAFT SERVERS ======="
echo "==========================================="
for service in /home/joey/homelab/server/config/minecraft/*.yml
do
echo "===== STARTING $service ====="
docker-compose -f $service up -d
done
echo "==========================================="
echo "================ ALL DONE ================="
echo "======= List all running containers ======="