From f4533c96623b9e47794f9dc9062f6e3a2e0f0f02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Thu, 20 Mar 2025 19:23:41 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=BD=91=E7=AB=99=E6=97=A5=E5=BF=97?= =?UTF-8?q?=E5=A4=87=E4=BB=BD=E5=90=8E=E9=87=8D=E8=BD=BDNginx?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/data/cron.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/data/cron.go b/internal/data/cron.go index 436c3241..b8a1eaf7 100644 --- a/internal/data/cron.go +++ b/internal/data/cron.go @@ -65,6 +65,7 @@ export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:$PATH panel-cli backup website -n '%s' -p '%s' panel-cli backup clear -t website -f '%s' -s '%d' -p '%s' +systemctl reload nginx `, req.Target, req.BackupPath, req.Target, req.Save, req.BackupPath) } if req.BackupType == "mysql" || req.BackupType == "postgres" {