From 4707d632d67af5cd81dcbbfb8dc742286f36c17c Mon Sep 17 00:00:00 2001 From: Gerrit Gogel Date: Wed, 27 Jan 2021 16:18:17 +0100 Subject: [PATCH] add missing symbolic links to avatars and custom --- seahub/scripts/create_data_links.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/seahub/scripts/create_data_links.sh b/seahub/scripts/create_data_links.sh index 7566b65..0ae9016 100644 --- a/seahub/scripts/create_data_links.sh +++ b/seahub/scripts/create_data_links.sh @@ -39,4 +39,9 @@ if [[ ! -e /shared/seafile/conf/seahub.conf ]]; then fi rm -f /opt/seafile/seafile-server-latest/runtime/seahub.conf -ln -sf /shared/seafile/conf/seahub.conf /opt/seafile/seafile-server-latest/runtime/seahub.conf \ No newline at end of file +ln -sf /shared/seafile/conf/seahub.conf /opt/seafile/seafile-server-latest/runtime/seahub.conf +ln -sf /shared/seafile/seahub-data /opt/seafile/seafile-server-latest/seahub-data +rm -rf /opt/seafile/seafile-server-latest/seahub/media/avatars +rm -rf /opt/seafile/seafile-server-latest/seahub/media/custom +ln -sf /shared/seafile/seahub-data/avatars /opt/seafile/seafile-server-latest/seahub/media +ln -sf /shared/seafile/seahub-data/custom /opt/seafile/seafile-server-latest/seahub/media \ No newline at end of file