Skip to content
Snippets Groups Projects
Select Git revision
  • main default protected
1 result

Gyros.md

Blame
  • docker-entrypoint.sh NaN GiB
    #!/usr/bin/env bash
    set -Eeo pipefail
    
    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"
    fi