mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 17:05:32 +00:00
configure tcp keepalive on seahub side with intervall of 10s
This commit is contained in:
parent
01a9e9d05b
commit
06742af855
|
@ -9,4 +9,4 @@ while [ ! -S /opt/seafile/seafile-server-latest/runtime/seafile.sock ]; do
|
||||||
sleep 1
|
sleep 1
|
||||||
done
|
done
|
||||||
|
|
||||||
socat -v -d -d -d -d TCP-LISTEN:8001,fork,reuseaddr,keepalive,keepidle=10,keepintvl=10,keepcnt=2 UNIX:/opt/seafile/seafile-server-latest/runtime/seafile.sock,forever
|
socat -v -d -d -d -d TCP-LISTEN:8001,fork,reuseaddr UNIX:/opt/seafile/seafile-server-latest/runtime/seafile.sock,forever
|
|
@ -3,7 +3,7 @@
|
||||||
/scripts/create_data_links.sh
|
/scripts/create_data_links.sh
|
||||||
|
|
||||||
mkdir -p /opt/seafile/seafile-server-latest/runtime
|
mkdir -p /opt/seafile/seafile-server-latest/runtime
|
||||||
socat -v -d -d -d -d UNIX-LISTEN:/opt/seafile/seafile-server-latest/runtime/seafile.sock,fork TCP:seafile-server:8001,forever &
|
socat -v -d -d -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 &
|
||||||
|
|
||||||
python3 /opt/seafile/seafile-server-latest/seahub/manage.py runserver 0.0.0.0:8000
|
python3 /opt/seafile/seafile-server-latest/seahub/manage.py runserver 0.0.0.0:8000
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue