From 7d9ccdde75c057b53e95207b1ca490354ef67adc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=97=A0=E9=97=BB=E9=A3=8E?= Date: Wed, 24 Jun 2026 11:46:08 +0800 Subject: [PATCH] up --- install_linux.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install_linux.sh b/install_linux.sh index 87603d2..dcfed17 100755 --- a/install_linux.sh +++ b/install_linux.sh @@ -76,7 +76,7 @@ User=${SERVICE_USER} Group=${SERVICE_USER} WorkingDirectory=${INSTALL_DIR} ExecStart=${INSTALL_DIR}/${BINARY_NAME} -config ${CONFIG_DIR}/config.yaml -ExecStartPost=/bin/chmod 666 ${SOCKET_DIR}/web.sock +ExecStartPost=/bin/sh -c 'while [ ! -S ${SOCKET_DIR}/web.sock ]; do sleep 0.1; done; chmod 666 ${SOCKET_DIR}/web.sock' Restart=on-failure RestartSec=5s NoNewPrivileges=true