diff --git a/seahub/scripts/start.sh b/seahub/scripts/start.sh index def0ee7..dc4d8d6 100644 --- a/seahub/scripts/start.sh +++ b/seahub/scripts/start.sh @@ -2,7 +2,7 @@ function init_seahub { /scripts/create_data_links.sh - echo "{ \"email\": \"${SEAFILE_ADMIN_EMAIL}\",\"password\": \"${SEAFILE_ADMIN_PASSWORD}\"}" | tee /opt/seafile/conf/admin.txt + echo "{ \"email\": \"${SEAFILE_ADMIN_EMAIL}\",\"password\": \"${SEAFILE_ADMIN_PASSWORD}\"}" >/opt/seafile/conf/admin.txt python3 /opt/seafile/seafile-server-latest/check_init_admin.py }