From 7ba4720d31e722789c9c9fd3a80d5b329d214f7e Mon Sep 17 00:00:00 2001 From: Gerrit Gogel Date: Thu, 28 Jan 2021 00:40:00 +0100 Subject: [PATCH] echo waiting for socket only once --- seafile-server/scripts/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seafile-server/scripts/start.sh b/seafile-server/scripts/start.sh index eeba876..c8d07d0 100644 --- a/seafile-server/scripts/start.sh +++ b/seafile-server/scripts/start.sh @@ -17,8 +17,8 @@ function stop_server { } function start_socat { + echo "Waiting for SeaRPC socket..." while [ ! -S /opt/seafile/seafile-server-latest/runtime/seafile.sock ]; do - echo "Waiting for SeaRPC socket..." sleep 1 done socat -d -d TCP-LISTEN:8001,fork,reuseaddr UNIX:/opt/seafile/seafile-server-latest/runtime/seafile.sock,forever