mirror of
https://github.com/matrix-org/synapse-s3-storage-provider.git
synced 2024-10-23 07:29:40 +00:00
Fix name of s3_media_upload script and other minor README cleanups (#35)
This commit is contained in:
parent
e4adf02bfd
commit
26ff8d8def
1 changed files with 6 additions and 6 deletions
12
README.md
12
README.md
|
@ -44,14 +44,14 @@ described [here](https://boto3.readthedocs.io/en/latest/guide/configuration.html
|
||||||
Regular cleanup job
|
Regular cleanup job
|
||||||
-------------------
|
-------------------
|
||||||
|
|
||||||
There is additionally a `s3_media_upload.py` which can be used in a regular job
|
There is additionally a script at `scripts/s3_media_upload` which can be used
|
||||||
to upload content to s3, then delete that from local disk. This script can be
|
in a regular job to upload content to s3, then delete that from local disk.
|
||||||
used in combination with configuration for the storage provider to pull media
|
This script can be used in combination with configuration for the storage
|
||||||
from s3, but upload it asynchronously.
|
provider to pull media from s3, but upload it asynchronously.
|
||||||
|
|
||||||
Once the package is installed, the script should be run somewhat like the
|
Once the package is installed, the script should be run somewhat like the
|
||||||
following. We suggest using tmux or screen as these can take a long time on
|
following. We suggest using `tmux` or `screen` as these can take a long time
|
||||||
larger servers.
|
on larger servers.
|
||||||
|
|
||||||
`database.yaml` should contain the keys that would be passed to psycopg2 to
|
`database.yaml` should contain the keys that would be passed to psycopg2 to
|
||||||
connect to your database. They can be found in the contents of the
|
connect to your database. They can be found in the contents of the
|
||||||
|
|
Loading…
Reference in a new issue