Update On Tue Jan 14 19:33:08 CET 2025

This commit is contained in:
github-action[bot]
2025-01-14 19:33:09 +01:00
parent 5cb6845216
commit 17684a7c3e
6202 changed files with 514360 additions and 12391 deletions
@@ -543,7 +543,7 @@ function create_backup()
"/usr/share/passwall/rules/proxy_host",
"/usr/share/passwall/rules/proxy_ip"
}
local date = os.date("%Y%m%d")
local date = os.date("%y%m%d%H%M")
local tar_file = "/tmp/passwall-" .. date .. "-backup.tar.gz"
fs.remove(tar_file)
local cmd = "tar -czf " .. tar_file .. " " .. table.concat(backup_files, " ")