From 0bbbb176ede5dfa02563bb7e8ce09d81f3292280 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 27 Oct 2025 12:12:34 +0800 Subject: [PATCH] account/Makefile: add upgrade target --- account/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/account/Makefile b/account/Makefile index 79df9d8..0186eba 100644 --- a/account/Makefile +++ b/account/Makefile @@ -227,6 +227,11 @@ create-super-admin: build: @go build -o $(APP_NAME) $(MAIN_FILE) +upgrade: build + systemctl stop xcontrol-account + cp xcontrol-account /usr/bin/xcontrol-account + systemctl start xcontrol-account + start: @./$(APP_NAME) --config config/account.yaml &