From 9cfd4c26391b6a70b6bcbe7e864d01e8a4d479f8 Mon Sep 17 00:00:00 2001 From: root <517046497@qq.com> Date: Fri, 13 Apr 2018 02:57:53 +0000 Subject: [PATCH] missing log --- image/seafile/create_data_links.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/image/seafile/create_data_links.sh b/image/seafile/create_data_links.sh index a6a686c..64ffa13 100755 --- a/image/seafile/create_data_links.sh +++ b/image/seafile/create_data_links.sh @@ -25,9 +25,7 @@ done if [[ ! -e /shared/logs/seafile ]]; then mkdir -p /shared/logs/seafile fi -if [[ -e /shared/logs/seafile ]]; then - rm /opt/seafile/logs && ln -sf /shared/logs/seafile/ /opt/seafile/logs -fi +rm -f /opt/seafile/logs && ln -sf /shared/logs/seafile /opt/seafile/logs current_version_dir=/opt/seafile/seafile-server-${SEAFILE_VERSION} latest_version_dir=/opt/seafile/seafile-server-latest