From 13cfadb07bd8febe134726ddbee3a8fc163df19c Mon Sep 17 00:00:00 2001 From: Gerrit Gogel Date: Sun, 31 Jan 2021 14:56:03 +0100 Subject: [PATCH] do not echo admin.txt to stdout --- seahub/scripts/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }