Some checks failed
Weekly Translation Workflow / translate (push) Has been cancelled
- Replace 'docker run -p 80:80' with '--network host' for certbot standalone HTTP-01 to avoid timeout in environments where Docker NAT port-publish breaks LE inbound traffic but host port 80 is reachable. - Applies to kejilion.sh (all locale variants) and auto_cert_renewal.sh. - README install command points to this Gitea mirror.
8 lines
239 B
Bash
8 lines
239 B
Bash
#!/bin/bash
|
|
clear
|
|
mkdir -p /home/game
|
|
docker cp mcserver:/data /home/game/mc
|
|
cd /home/game/mc && tar czvf mc_$(date +"%Y%m%d%H%M%S").tar.gz mc
|
|
rm -rf /home/game/mc/
|
|
echo -e "\033[0;32m游戏存档已导出存放在: /home/game/mc/\033[0m"
|