run socat in endless loop, watch seafile-server

This commit is contained in:
Gerrit Gogel 2021-01-31 14:52:23 +01:00
parent 308646ad5c
commit cb4f5e93c8

View file

@ -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 |& tee /dev/null
echo "{ \"email\": \"${SEAFILE_ADMIN_EMAIL}\",\"password\": \"${SEAFILE_ADMIN_PASSWORD}\"}" | tee /opt/seafile/conf/admin.txt
python3 /opt/seafile/seafile-server-latest/check_init_admin.py
}