From 62c09165666bb7427f913c11e2ec7ba7dc375de2 Mon Sep 17 00:00:00 2001 From: govolokatliai Date: Thu, 22 May 2025 21:14:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0Makefile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index e00cc56..f85ba99 100644 --- a/Makefile +++ b/Makefile @@ -3,11 +3,11 @@ build: deploy: go build -o scheduler - cp ./scheduler /opt/scheduler/scheduler - cp -r FrontEnd /opt/scheduler/FrontEnd - cp -r templates /opt/scheduler/templates - cp -r tools /opt/scheduler/tools - ln -s /opt/scheduler/tools/ZSCWW-Scheduler.service /etc/systemd/system/ZSCWW-Scheduler.service + cp -u ./scheduler /opt/scheduler/scheduler + cp -r -u FrontEnd /opt/scheduler/FrontEnd + cp -r -u templates /opt/scheduler/templates + cp -r -u tools /opt/scheduler/tools + ln -sf /opt/scheduler/tools/ZSCWW-Scheduler.service /etc/systemd/system/ZSCWW-Scheduler.service echo "部署脚本执行完成,记得放入以及在tools/start.sh中修改配置文件,在新环境运行时记得带上--init-db参数" default: help