From c49e9537ee132d5e3d55073a4ae92ea4213f0055 Mon Sep 17 00:00:00 2001 From: Gerrit Gogel Date: Sat, 23 Jan 2021 20:59:56 +0100 Subject: [PATCH] seahub: optimize socat connection --- 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 9ea95d3..72e148d 100644 --- a/seahub/scripts/start.sh +++ b/seahub/scripts/start.sh @@ -3,7 +3,7 @@ /scripts/create_data_links.sh mkdir -p /opt/seafile/seafile-server-latest/runtime -socat -v -d -d UNIX-LISTEN:/opt/seafile/seafile-server-latest/runtime/seafile.sock,fork TCP:seafile-server:8001,forever & +socat -v -d -d UNIX-LISTEN:/opt/seafile/seafile-server-latest/runtime/seafile.sock,fork TCP:seafile-server:8001,forever,keepalive,ignoreeof & python3 /opt/seafile/seafile-server-latest/seahub/manage.py runserver 0.0.0.0:8000