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

fix: ensure seafile runs before issuing rpc commands

parent 7ac472b5
No related branches found
No related tags found
No related merge requests found
Pipeline #2983 passed
......@@ -7,6 +7,10 @@ mkdir -p ~/seafile
seaf-cli init -d ~/seafile
seaf-cli start
until [ -S ~/seafile/seafile-data/seafile.sock ]; do
sleep 1;
done
if [ -z "$OTP_TOKEN" ]; then
echo "syncing library"
seaf-cli "$TASK" -l "$LIBRARY" -s "$SERVER" -d "/sync" -u "$EMAIL" -p "$PASSWORD"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment