seafile-containerized/seahub/scripts/start.sh
2021-01-24 16:01:09 +01:00

10 lines
310 B
Bash

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