Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>pull/4135/head
| @@ -1,3 +1,11 @@ | |||||
| <!-- | |||||
| SPDX-FileCopyrightText: 2023 Nikita Chernyi | |||||
| SPDX-FileCopyrightText: 2023 Slavi Pantaleev | |||||
| SPDX-FileCopyrightText: 2024 - 2025 Suguru Hirahara | |||||
| SPDX-License-Identifier: AGPL-3.0-or-later | |||||
| --> | |||||
| # Setting up synapse-auto-compressor (optional) | # Setting up synapse-auto-compressor (optional) | ||||
| The playbook can install and configure [synapse_auto_compressor](https://github.com/matrix-org/rust-synapse-compress-state/#automated-tool-synapse_auto_compressor) for you. | The playbook can install and configure [synapse_auto_compressor](https://github.com/matrix-org/rust-synapse-compress-state/#automated-tool-synapse_auto_compressor) for you. | ||||
| @@ -1,3 +1,10 @@ | |||||
| # SPDX-FileCopyrightText: 2023 - 2024 Nikita Chernyi | |||||
| # SPDX-FileCopyrightText: 2023 - 2025 Slavi Pantaleev | |||||
| # SPDX-FileCopyrightText: 2023 Samuel Meenzen | |||||
| # SPDX-FileCopyrightText: 2025 Suguru Hirahara | |||||
| # | |||||
| # SPDX-License-Identifier: AGPL-3.0-or-later | |||||
| --- | --- | ||||
| # synapse_auto_compressor tool | # synapse_auto_compressor tool | ||||
| @@ -1,3 +1,9 @@ | |||||
| # SPDX-FileCopyrightText: 2023 - 2024 Nikita Chernyi | |||||
| # SPDX-FileCopyrightText: 2023 - 2024 Slavi Pantaleev | |||||
| # SPDX-FileCopyrightText: 2024 David Mehren | |||||
| # | |||||
| # SPDX-License-Identifier: AGPL-3.0-or-later | |||||
| --- | --- | ||||
| - name: Ensure synapse-auto-compressor paths exist | - name: Ensure synapse-auto-compressor paths exist | ||||
| @@ -1,3 +1,8 @@ | |||||
| # SPDX-FileCopyrightText: 2023 Nikita Chernyi | |||||
| # SPDX-FileCopyrightText: 2023 Slavi Pantaleev | |||||
| # | |||||
| # SPDX-License-Identifier: AGPL-3.0-or-later | |||||
| --- | --- | ||||
| - tags: | - tags: | ||||
| @@ -1,3 +1,7 @@ | |||||
| # SPDX-FileCopyrightText: 2023 Nikita Chernyi | |||||
| # | |||||
| # SPDX-License-Identifier: AGPL-3.0-or-later | |||||
| --- | --- | ||||
| - name: Check existence of matrix-synapse-auto-compressor service | - name: Check existence of matrix-synapse-auto-compressor service | ||||
| ansible.builtin.stat: | ansible.builtin.stat: | ||||
| @@ -1,3 +1,8 @@ | |||||
| # SPDX-FileCopyrightText: 2023 - 2025 Slavi Pantaleev | |||||
| # SPDX-FileCopyrightText: 2024 Suguru Hirahara | |||||
| # | |||||
| # SPDX-License-Identifier: AGPL-3.0-or-later | |||||
| --- | --- | ||||
| - name: (Deprecation) Catch and report renamed matrix-synapse-auto-compressor settings | - name: (Deprecation) Catch and report renamed matrix-synapse-auto-compressor settings | ||||
| ansible.builtin.fail: | ansible.builtin.fail: | ||||
| @@ -1,3 +1,10 @@ | |||||
| {# | |||||
| SPDX-FileCopyrightText: 2023 Slavi Pantaleev | |||||
| SPDX-FileCopyrightText: 2024 Nikita Chernyi | |||||
| SPDX-License-Identifier: AGPL-3.0-or-later | |||||
| #} | |||||
| POSTGRES_LOCATION={{ matrix_synapse_auto_compressor_environment_variable_postgres_location }} | POSTGRES_LOCATION={{ matrix_synapse_auto_compressor_environment_variable_postgres_location }} | ||||
| # PG-prefixed variables below are for the matrix-synapse-auto-compressor-fix.sh script | # PG-prefixed variables below are for the matrix-synapse-auto-compressor-fix.sh script | ||||
| @@ -0,0 +1,3 @@ | |||||
| SPDX-FileCopyrightText: 2024 Nikita Chernyi | |||||
| SPDX-License-Identifier: AGPL-3.0-or-later | |||||
| @@ -0,0 +1,4 @@ | |||||
| SPDX-FileCopyrightText: 2023 - 2025 Nikita Chernyi | |||||
| SPDX-FileCopyrightText: 2023 Slavi Pantaleev | |||||
| SPDX-License-Identifier: AGPL-3.0-or-later | |||||
| @@ -1,3 +1,10 @@ | |||||
| {# | |||||
| SPDX-FileCopyrightText: 2023 Nikita Chernyi | |||||
| SPDX-FileCopyrightText: 2025 Suguru Hirahara | |||||
| SPDX-License-Identifier: AGPL-3.0-or-later | |||||
| #} | |||||
| [Unit] | [Unit] | ||||
| Description=Synapse State Auto Compressor Timer | Description=Synapse State Auto Compressor Timer | ||||