#68 Update scripts, docs
This commit is contained in:
parent
1fe092dca6
commit
60f9d2f235
@ -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:
|
||||
|
@ -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/*
|
||||
|
@ -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 ======="
|
||||
|
Loading…
Reference in New Issue
Block a user