account/Makefile: add upgrade target

This commit is contained in:
root 2025-10-27 12:12:34 +08:00
parent a0d4529587
commit 0bbbb176ed

View File

@ -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 &