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