mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 17:05:32 +00:00
12 lines
320 B
Bash
12 lines
320 B
Bash
#!/bin/bash
|
|
|
|
/scripts/create_data_links.sh
|
|
|
|
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,reuseaddr UNIX:/opt/seafile/seafile-server-latest/runtime/seafile.sock,forever |