Switch the infinite restart to the Seafile entrypoint
This commit is contained in:
@@ -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 &
|
|
||||||
|
|||||||
@@ -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 &
|
||||||
|
|||||||
Reference in New Issue
Block a user