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

Fix seaf-cli issues

parent 6a798561
No related branches found
No related tags found
No related merge requests found
...@@ -4,9 +4,9 @@ set -Eeo pipefail ...@@ -4,9 +4,9 @@ set -Eeo pipefail
mkdir /seafile-data mkdir /seafile-data
seaf-cli init -d /seafile-data seaf-cli init -d /seafile-data
if [ -z "$OTP_TOKEN" ]; then if [ -z "$OTP_TOKEN" ]; then
seaf-cli sync -l "$LIBRARY" -s "$SERVER" -d "/sync" -u "$EMAIL" -p "$PASSWORD" --tfa $(oathtool --totp -b "$OTP_TOKEN")
else
seaf-cli sync -l "$LIBRARY" -s "$SERVER" -d "/sync" -u "$EMAIL" -p "$PASSWORD" seaf-cli sync -l "$LIBRARY" -s "$SERVER" -d "/sync" -u "$EMAIL" -p "$PASSWORD"
else
seaf-cli sync -l "$LIBRARY" -s "$SERVER" -d "/sync" -u "$EMAIL" -p "$PASSWORD" --tfa $(oathtool --totp -b "$OTP_TOKEN")
fi fi
seaf-cli start seaf-cli start
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment