fix(fix3): runtime env hardening and public endpoint source-of-truth

This commit is contained in:
2026-04-28 04:45:43 +05:00
parent 96d9bbcece
commit 12c65c8e31
23 changed files with 131 additions and 238 deletions
+2 -2
View File
@@ -8,9 +8,9 @@ Type=simple
User=hy2xs-admin
Group=hy2xs-admin
WorkingDirectory={{INSTALL_DIR}}
EnvironmentFile=/etc/hy2xs/hy2xs.env
Environment=HUI_DATA={{DATA_DIR}}/
Environment=HY2XS_UI_BIND_HOST={{UI_BIND_HOST}}
Environment=HY2XS_UI_PORT={{UI_PORT}}
Environment=HUI_LOG={{LOG_DIR}}
ExecStart={{INSTALL_DIR}}/hy2xs-admin -p {{UI_PORT}}
Restart=on-failure
RestartSec=5s