From 829062950ca2f3a25104f4e05240c186a44c6abd Mon Sep 17 00:00:00 2001 From: wuyang6 Date: Mon, 11 May 2026 16:00:31 +0800 Subject: [PATCH] Fix multi-instance deploy templates --- scripts/deploy-ubuntu.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/deploy-ubuntu.sh b/scripts/deploy-ubuntu.sh index 160d9d5..9929295 100755 --- a/scripts/deploy-ubuntu.sh +++ b/scripts/deploy-ubuntu.sh @@ -304,8 +304,8 @@ install_systemd_service() { install_services() { require_command systemctl "当前系统不支持 systemd,无法安装服务。" log "安装/更新用户级 systemd 服务" - install_systemd_service "${BACKEND_SERVICE}" "${ROOT_DIR}/deploy/systemd/${BACKEND_SERVICE}.service.template" - install_systemd_service "${FRONTEND_SERVICE}" "${ROOT_DIR}/deploy/systemd/${FRONTEND_SERVICE}.service.template" + install_systemd_service "${BACKEND_SERVICE}" "${ROOT_DIR}/deploy/systemd/zk-data-agent-backend.service.template" + install_systemd_service "${FRONTEND_SERVICE}" "${ROOT_DIR}/deploy/systemd/zk-data-agent-frontend.service.template" systemctl --user daemon-reload systemctl --user enable "${BACKEND_SERVICE}" "${FRONTEND_SERVICE}" }