blob: 8ab205e7590f5af231dd04e40edf65ac9cbe7988 (
plain) (
tree)
|
|
#!/bin/bash
cat > database.yaml <<EOF
sqlite:
database: /ephemeral/homeserver.db
EOF
while true; do
/root/matrix-env/bin/s3_media_upload update-db 0d
/root/matrix-env/bin/s3_media_upload --no-progress check-deleted /ephemeral/media_store
/root/matrix-env/bin/s3_media_upload --no-progress upload /ephemeral/media_store synapse-data --delete --endpoint-url https://garage-staging.home.adnab.me
sleep 600
done
|