Switch the infinite restart to the Seafile entrypoint

This commit is contained in:
flow.gunso
2019-04-24 20:54:21 +02:00
parent ee0975a1aa
commit 67f09f71b2
2 changed files with 4 additions and 3 deletions

View File

@@ -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

View File

@@ -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 &