seafile-containerized/seahub/scripts/start.sh

10 lines
323 B
Bash
Raw Permalink Normal View History

2021-01-22 21:22:53 +00:00
#!/bin/bash
/scripts/create_data_links.sh
mkdir -p /opt/seafile/seafile-server-latest/runtime
2021-01-23 19:59:56 +00:00
socat -v -d -d UNIX-LISTEN:/opt/seafile/seafile-server-latest/runtime/seafile.sock,fork TCP:seafile-server:8001,forever,keepalive,ignoreeof &
2021-01-22 21:22:53 +00:00
python3 /opt/seafile/seafile-server-latest/seahub/manage.py runserver 0.0.0.0:8000