File size: 484 Bytes
1b7b318
 
 
 
 
 
 
4ff5619
1
2
3
4
5
6
7
8
#!/bin/bash
/app/rclone copy --config /app/rclone.conf "$REMOTE:teldrive/teldrive.db" "/app/"

if [ ! -f "/app/teldrive.db" ]; then
    touch "/app/teldrive.db"
fi

/app/teldrive run -c config.toml --tg-app-id ${TELDRIVE_TG_APP_ID} --tg-bg-bots-limit 100 --tg-app-hash ${TELDRIVE_TG_APP_HASH} --jwt-secret ${TELDRIVE_JWT_SECRET} --db-data-source ${TELDRIVE_DB_DATA_SOURCE} --tg-uploads-encryption-key ${TELDRIVE_TG_UPLOADS_ENCRYPTION_KEY} --tg-session-file ${TELDRIVE_TG_SESSION_FILE}