haiwen / seafile-docker

A Docker image for Seafile server
Other
536 stars 181 forks source link

`seafile` Docker container has two identical `seahub.sh` scripts #318

Closed kirisakow closed 1 year ago

kirisakow commented 1 year ago

a. seafile Docker container has two identical seahub.sh scripts:

root@4c206843a5fd:/opt/seafile# ll /opt/seafile/seafile-server-9.0.9/seahub.sh
-rwxr-xr-x 1 root root 8875 Sep 20 04:39 /opt/seafile/seafile-server-9.0.9/seahub.sh*

root@4c206843a5fd:/opt/seafile# ll /opt/seafile/seafile-server-9.0.9/seahub/scripts/seahub.sh
-rwxr-xr-x 1 root root 8875 Sep 20 04:36 /opt/seafile/seafile-server-9.0.9/seahub/scripts/seahub.sh*

b. Seafile manual (https://manual.seafile.com) gives no information as to why there are not one seahub.sh script but two seahub.sh scripts.

freeplant commented 1 year ago

/opt/seafile/seafile-server-9.0.9/seahub/scripts/seahub.sh is included in the source code.

/opt/seafile/seafile-server-9.0.9/seahub.sh is a copied version when building the docker image.