add seahub start.sh

This commit is contained in:
Gerrit Gogel 2021-01-22 22:22:53 +01:00
parent b6d97edf4b
commit 2e25a08167

9
seahub/scripts/start.sh Normal file
View file

@ -0,0 +1,9 @@
#!/bin/bash
/scripts/create_data_links.sh
mkdir -p /opt/seafile/seafile-server-latest/runtime
socat -v -d -d UNIX-LISTEN:/opt/seafile/seafile-server-latest/runtime/seafile.sock,forever,fork TCP:seafile-server:8001,forever &
python3 /opt/seafile/seafile-server-latest/seahub/manage.py runserver 0.0.0.0:8000