seafile-containerized/seafile-server/scripts/start.sh

12 lines
327 B
Bash
Raw Normal View History

2021-01-22 21:27:05 +00:00
#!/bin/bash
/scripts/create_data_links.sh
python3 /scripts/start.py &
2021-01-22 21:27:05 +00:00
while [ ! -S /opt/seafile/seafile-server-latest/runtime/seafile.sock ]; do
echo "Waiting for SeaRPC socket..."
sleep 1
done
2021-01-24 15:01:09 +00:00
socat -d -d TCP-LISTEN:8001,fork,reuseaddr UNIX:/opt/seafile/seafile-server-latest/runtime/seafile.sock,forever,keepalive