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

@@ -52,5 +52,3 @@ su - $UNAME << EO
export UNAME=$UNAME export UNAME=$UNAME
/bin/bash /home/seafuser/entrypoint.sh /bin/bash /home/seafuser/entrypoint.sh
EO EO
exec /bin/bash ~/infinite-seaf-cli-start.sh &

View File

@@ -33,3 +33,6 @@ while [ ! -S $seafile_sock ]; do sleep 1; done
# Start the synchronisation. # Start the synchronisation.
/usr/bin/seaf-cli sync -u $SEAF_USERNAME -p $SEAF_PASSWORD -s $SEAF_SERVER_URL -l $SEAF_LIBRARY_UUID -d /volume /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 &