From 67f09f71b2f8849982a18c3c995e454cd1b40679 Mon Sep 17 00:00:00 2001 From: "flow.gunso" Date: Wed, 24 Apr 2019 20:54:21 +0200 Subject: [PATCH] Switch the infinite restart to the Seafile entrypoint --- assets/docker-bash-entrypoint.sh | 4 +--- assets/seafile-bash-entrypoint.sh | 3 +++ 2 files changed, 4 insertions(+), 3 deletions(-) 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 &