mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 17:05:32 +00:00
seafile-server wait until searpc is available
This commit is contained in:
parent
9c0f7e2bd2
commit
aa85043e23
|
@ -2,7 +2,11 @@
|
|||
|
||||
/scripts/create_data_links.sh
|
||||
|
||||
mkdir -p /opt/seafile/seafile-server-latest/runtime
|
||||
socat -v -d -d TCP-LISTEN:8001,fork,forever UNIX:/opt/seafile/seafile-server-latest/runtime/seafile.sock,forever &
|
||||
python3 /scripts/start.py &
|
||||
|
||||
python3 /scripts/start.py
|
||||
while [ ! -S /opt/seafile/seafile-server-latest/runtime/seafile.sock ]; do
|
||||
echo "Waiting for SeaRPC socket..."
|
||||
sleep 1
|
||||
done
|
||||
|
||||
socat -v -d -d TCP-LISTEN:8001,fork UNIX:/opt/seafile/seafile-server-latest/runtime/seafile.sock,forever
|
Loading…
Reference in a new issue