Tweak backup script
Signed-off-by: Minecraft server <mc@tdpain.net>
This commit is contained in:
parent
9f40e6ca51
commit
f5fb9169e2
1 changed files with 2 additions and 0 deletions
|
@ -22,6 +22,8 @@ docker exec mc mc-send-to-console title $TARGET title '\"\\u00A7cRestarting...\"
|
||||||
|
|
||||||
curl -m 10 --retry 5 "$PING_URL/start"
|
curl -m 10 --retry 5 "$PING_URL/start"
|
||||||
|
|
||||||
|
docker exec mc mc-send-to-console kick $TARGET '\"Server restarting for backups - please check back shortly.\"'
|
||||||
|
|
||||||
docker stop mc
|
docker stop mc
|
||||||
|
|
||||||
OUTPUT_FILE="backup.tar.gz"
|
OUTPUT_FILE="backup.tar.gz"
|
||||||
|
|
Reference in a new issue