From c51e0df53e35ebd150264fca0cfa4c9443f814de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E6=96=87=E5=B3=B0?= Date: Thu, 28 May 2026 15:27:48 +0800 Subject: [PATCH] up --- install.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 1cb3040..06ee50e 100644 --- a/install.sh +++ b/install.sh @@ -87,9 +87,8 @@ ensure_dirs() { chown -R "${SERVICE_USER}:${SERVICE_USER}" "${DATA_DIR}" chown -R "${SERVICE_USER}:${SERVICE_USER}" "${LOG_DIR}" chown -R "${SERVICE_USER}:${SERVICE_USER}" "${PID_DIR}" - # 配置目录 root 拥有,服务用户可读 - chown -R "root:${SERVICE_USER}" "${CONFIG_DIR}" - chmod 750 "${CONFIG_DIR}" + chown -R "${SERVICE_USER}:${SERVICE_USER}" "${CONFIG_DIR}" + ok "目录结构就绪" }