diff --git a/assets/docker-bash-entrypoint.sh b/assets/docker-bash-entrypoint.sh index 9a6e098..c446e0f 100644 --- a/assets/docker-bash-entrypoint.sh +++ b/assets/docker-bash-entrypoint.sh @@ -51,6 +51,4 @@ su - $UNAME << EO export SEAF_LIBRARY_UUID=$SEAF_LIBRARY_UUID export UNAME=$UNAME /bin/bash /home/seafuser/entrypoint.sh -EO - -exec /bin/bash ~/infinite-seaf-cli-start.sh & +EO \ No newline at end of file diff --git a/assets/seafile-bash-entrypoint.sh b/assets/seafile-bash-entrypoint.sh index c7e529b..fac55c9 100644 --- a/assets/seafile-bash-entrypoint.sh +++ b/assets/seafile-bash-entrypoint.sh @@ -33,3 +33,6 @@ while [ ! -S $seafile_sock ]; do sleep 1; done # Start the synchronisation. /usr/bin/seaf-cli sync -u $SEAF_USERNAME -p $SEAF_PASSWORD -s $SEAF_SERVER_URL -l $SEAF_LIBRARY_UUID -d /volume + +# Run the infinite Seafile restart. +/bin/bash ~/infinite-seaf-cli-start.sh &