lgbot: docs (README, ADMIN, HOW-IT-WORKS, PLAYERS), back up lgbot files

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
esefandClaude Opus 5.5 committed 2026-10-15 14:34:10 +03:00
1 parent c6a495ce2c
commit d2fb4be349
5 files changed
+57 -6

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ umask 077
mkdir -p backups
chmod 700 backups
tar czf backups/ql-$(date +%F).tar.gz .env secrets home/baseq3/access.txt \
home/baseq3/server.cfg home/baseq3/scripts home/minqlx-plugins 2>/dev/null || true
home/baseq3/server.cfg home/baseq3/scripts home/minqlx-plugins home/baseq3/botfiles home/lgbot.json 2>/dev/null || true
find backups -name "ql-*.tar.gz" -mtime +14 -delete
for f in home/baseq3/*.log home/minqlx.log; do
if [ -f "$f" ] && [ "$(stat -c %s "$f")" -gt 52428800 ]; then : > "$f"; fi