mirror of
https://github.com/ggogel/seafile-containerized.git
synced 2024-11-16 17:05:32 +00:00
add seahub start.sh
This commit is contained in:
parent
b6d97edf4b
commit
2e25a08167
9
seahub/scripts/start.sh
Normal file
9
seahub/scripts/start.sh
Normal 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
|
||||||
|
|
Loading…
Reference in a new issue