do not echo admin.txt to stdout

This commit is contained in:
Gerrit Gogel 2021-01-31 14:56:03 +01:00
parent cb4f5e93c8
commit 13cfadb07b

View file

@ -2,7 +2,7 @@
function init_seahub { function init_seahub {
/scripts/create_data_links.sh /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 python3 /opt/seafile/seafile-server-latest/check_init_admin.py
} }