feat(systemd): 服务单元改名 homeagent.service → hologramagent.service

部署目录早已迁到 /home/hologramagent,单元名是最后一处旧名。
UnitName 是唯一来源(internal/systemd/sync.go),deploy-plan.sh 同步。
This commit is contained in:
JianFeeeee
2026-10-27 13:04:25 +08:00
parent e6b6cd12e3
commit bd066a627a
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ DATA=${HA_DATA}
BAK=/var/tmp/homed-backup-$(date +%Y%m%d-%H%M%S)
NEW=${NEW_BIN:-/tmp/homed-ort}
ADAPTERS=$DATA/adapters
SVC=homeagent.service
SVC=hologramagent.service
say() { printf '\n\033[1m%s\033[0m\n' "$*"; }
info() { printf ' %s\n' "$*"; }

View File

@ -48,7 +48,7 @@ import (
)
// UnitName 是内核的服务单元名。
const UnitName = "homeagent.service"
const UnitName = "hologramagent.service"
// State 描述一次一致性检查的结果。
type State struct {