fix(deploy): allow declared Guanghu service state

This commit is contained in:
冰朔 2026-08-06 13:38:31 +08:00
commit b00ef1f5fb
4 changed files with 71 additions and 4 deletions

View file

@ -17,7 +17,19 @@
"module": {
"unit": "lake-lamp-authz.service",
"run_user": "guanghu-authz",
"install_root": "/opt/guanghu/lake-lamp-authz"
"install_root": "/opt/guanghu/lake-lamp-authz",
"environment_files": [
"/etc/guanghu/secrets/lake-lamp/authorization.env"
],
"writable_paths": [
"/var/lib/guanghu/lake-lamp-authz",
"/var/lib/guanghu/repo-authorizations",
"/var/lib/guanghu/repo-push-uploads",
"/var/lib/guanghu/deployment-events",
"/var/lib/guanghu/forgejo/repositories/bingshuo/hololake-platform.git",
"/var/lib/guanghu/personas/guanghu/hlcc-v16.0.1/data/repositories/bingshuo/guanghu-ice-heart.git",
"/var/lib/guanghu/personas/guanghu/hlcc-v16.0.1/data/repositories/bingshuo/hololake-knowledge-base.git"
]
},
"service_update": {
"kind": "existing-systemd-service",