aboutsummaryrefslogtreecommitdiff
path: root/app/im/build/matrix-synapse/matrix-s3-async-sqlite
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-08-24 15:42:47 +0200
committerAlex Auvolat <alex@adnab.me>2022-08-24 15:42:47 +0200
commit2e8923b383eb06c53261eee8e5c442b857fb67e4 (patch)
tree0ad148f75f7b54dfed2dbac8f43f6df9badc502a /app/im/build/matrix-synapse/matrix-s3-async-sqlite
parent9848f3090f77363a2fda0f9fa673ebcf1fb8228c (diff)
downloadnixcfg-2e8923b383eb06c53261eee8e5c442b857fb67e4.tar.gz
nixcfg-2e8923b383eb06c53261eee8e5c442b857fb67e4.zip
Move app files into cluster subdirectories; add prod garage
Diffstat (limited to 'app/im/build/matrix-synapse/matrix-s3-async-sqlite')
-rwxr-xr-xapp/im/build/matrix-synapse/matrix-s3-async-sqlite13
1 files changed, 0 insertions, 13 deletions
diff --git a/app/im/build/matrix-synapse/matrix-s3-async-sqlite b/app/im/build/matrix-synapse/matrix-s3-async-sqlite
deleted file mode 100755
index 4bba072..0000000
--- a/app/im/build/matrix-synapse/matrix-s3-async-sqlite
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/bash
-
-cat > database.yaml <<EOF
-sqlite:
- 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 $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