diff options
author | David Robertson <davidr@element.io> | 2022-03-04 11:58:49 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-04 11:58:49 +0000 |
commit | 4aeb00ca20a0d9dbb2a104591aca081c723eb6d9 (patch) | |
tree | 8029510b249bc8019cb28d209656af6fd6041ba7 /docs/postgres.md | |
parent | Spread out sending device lists to remote hosts (#12132) (diff) | |
download | synapse-4aeb00ca20a0d9dbb2a104591aca081c723eb6d9.tar.xz |
Move synctl into `synapse._scripts` and expose as an entrypoint (#12140)
Diffstat (limited to 'docs/postgres.md')
-rw-r--r-- | docs/postgres.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/postgres.md b/docs/postgres.md index 0562021da5..de4e2ba4b7 100644 --- a/docs/postgres.md +++ b/docs/postgres.md @@ -153,9 +153,9 @@ database file (typically `homeserver.db`) to another location. Once the copy is complete, restart synapse. For instance: ```sh -./synctl stop +synctl stop cp homeserver.db homeserver.db.snapshot -./synctl start +synctl start ``` Copy the old config file into a new config file: @@ -192,10 +192,10 @@ Once that has completed, change the synapse config to point at the PostgreSQL database configuration file `homeserver-postgres.yaml`: ```sh -./synctl stop +synctl stop mv homeserver.yaml homeserver-old-sqlite.yaml mv homeserver-postgres.yaml homeserver.yaml -./synctl start +synctl start ``` Synapse should now be running against PostgreSQL. |