Skip to content
Snippets Groups Projects
Verified Commit 3999809d authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

wait until the socket exists

parent d04febd4
No related branches found
No related tags found
No related merge requests found
...@@ -5,8 +5,11 @@ trap "exit" INT ...@@ -5,8 +5,11 @@ trap "exit" INT
seaf-cli init -d /seafile-data seaf-cli init -d /seafile-data
seaf-cli start seaf-cli start
tail -f ~/.ccnet/logs/seafile.log &
sleep 5 until [ -S /seafile-data/seafile-data/seafile.sock ]; do
sleep 1;
done
if [ -z "$OTP_TOKEN" ]; then if [ -z "$OTP_TOKEN" ]; then
echo "syncing library" echo "syncing library"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment