From b918d96bf5258cb17943f37262bca9f3894f2a72 Mon Sep 17 00:00:00 2001 From: Gerrit Gogel Date: Fri, 19 Feb 2021 10:30:35 +0100 Subject: [PATCH] add unlink-early option to socat --- seahub/scripts/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seahub/scripts/start.sh b/seahub/scripts/start.sh index dd5152f..763954b 100644 --- a/seahub/scripts/start.sh +++ b/seahub/scripts/start.sh @@ -17,7 +17,7 @@ function start_socat { sleep 1 done echo "Starting socat..." - socat -d -d UNIX-LISTEN:/opt/seafile/seafile-server-latest/runtime/seafile.sock,fork TCP:seafile-server:8001,forever,keepalive,keepidle=10,keepintvl=10,keepcnt=2 + socat -d -d UNIX-LISTEN:/opt/seafile/seafile-server-latest/runtime/seafile.sock,fork,unlink-early TCP:seafile-server:8001,forever,keepalive,keepidle=10,keepintvl=10,keepcnt=2 done }