Преглед изворни кода

Suggest running start tag after janitor and Postgres vacuum

We do restart Synapse explicitly, but some other services
(bridges, matrix-corporal, ..) may not restart sometimes.

It's best to restart all services explicitly.
pull/220/head
Slavi Pantaleev пре 6 година
родитељ
комит
76862f4f2a
2 измењених фајлова са 3 додато и 3 уклоњено
  1. +1
    -1
      docs/maintenance-postgres.md
  2. +2
    -2
      docs/maintenance-synapse.md

+ 1
- 1
docs/maintenance-postgres.md Прегледај датотеку

@@ -27,7 +27,7 @@ To perform a `FULL` Postgres [VACUUM](https://www.postgresql.org/docs/current/sq
Example: Example:


```bash ```bash
ansible-playbook -i inventory/hosts setup.yml --tags=run-postgres-vacuum
ansible-playbook -i inventory/hosts setup.yml --tags=run-postgres-vacuum,start
``` ```


**Note**: this will automatically stop Synapse temporarily and restart it later. You'll also need plenty of available disk space in your Postgres data directory (usually `/matrix/postgres/data`). **Note**: this will automatically stop Synapse temporarily and restart it later. You'll also need plenty of available disk space in your Postgres data directory (usually `/matrix/postgres/data`).


+ 2
- 2
docs/maintenance-synapse.md Прегледај датотеку

@@ -21,7 +21,7 @@ There are external tools (like [synapse-janitor](https://github.com/xwiki-labs/s
To ask the playbook to run synapse-janitor, execute: To ask the playbook to run synapse-janitor, execute:


```bash ```bash
ansible-playbook -i inventory/hosts setup.yml --tags=run-postgres-synapse-janitor
ansible-playbook -i inventory/hosts setup.yml --tags=run-postgres-synapse-janitor,start
``` ```


**Note**: this will automatically stop Synapse temporarily and restart it later. **Note**: this will automatically stop Synapse temporarily and restart it later.
@@ -35,7 +35,7 @@ However, disk space only ever gets released after a [`FULL` Postgres `VACUUM`](.
It's easiest if you ask the playbook to run both synapse-janitor and a `VACUUM FULL` in one call: It's easiest if you ask the playbook to run both synapse-janitor and a `VACUUM FULL` in one call:


```bash ```bash
ansible-playbook -i inventory/hosts setup.yml --tags=run-postgres-synapse-janitor,run-postgres-vacuum
ansible-playbook -i inventory/hosts setup.yml --tags=run-postgres-synapse-janitor,run-postgres-vacuum,start
``` ```


**Note**: this will automatically stop Synapse temporarily and restart it later. You'll also need plenty of available disk space in your Postgres data directory (usually `/matrix/postgres/data`). **Note**: this will automatically stop Synapse temporarily and restart it later. You'll also need plenty of available disk space in your Postgres data directory (usually `/matrix/postgres/data`).


Loading…
Откажи
Сачувај