aboutsummaryrefslogtreecommitdiff
path: root/app/im/build/matrix-synapse/matrix-s3-async-sqlite
diff options
context:
space:
mode:
Diffstat (limited to 'app/im/build/matrix-synapse/matrix-s3-async-sqlite')
-rwxr-xr-xapp/im/build/matrix-synapse/matrix-s3-async-sqlite6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/im/build/matrix-synapse/matrix-s3-async-sqlite b/app/im/build/matrix-synapse/matrix-s3-async-sqlite
index 8ab205e..4bba072 100755
--- a/app/im/build/matrix-synapse/matrix-s3-async-sqlite
+++ b/app/im/build/matrix-synapse/matrix-s3-async-sqlite
@@ -2,12 +2,12 @@
cat > database.yaml <<EOF
sqlite:
- database: /ephemeral/homeserver.db
+ database: $SYNAPSE_SQLITE_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
+ /root/matrix-env/bin/s3_media_upload --no-progress check-deleted $SYNAPSE_MEDIA_STORE
+ /root/matrix-env/bin/s3_media_upload --no-progress upload $SYNAPSE_MEDIA_STORE $SYNAPSE_MEDIA_S3_BUCKET --delete --endpoint-url $S3_ENDPOINT
sleep 600
done