1
0
mirror of https://github.com/akpall/akpella.git synced 2026-02-21 00:26:59 +00:00

config.yaml: add matrixdotorg-synapse

This commit is contained in:
2026-02-06 02:02:41 +02:00
parent 5ceee60d7a
commit c4e58998c3

View File

@@ -36,3 +36,26 @@ systemd:
units:
- name: systemd-sysupdate.timer
enabled: true
- name: matrixdotorg-synapse.service
enabled: true
contents: |
[Unit]
Description=Synapse: Matrix homeserver written in Python/Twisted + Rust
After=docker.service
Requires=docker.service
[Service]
ExecStartPre=/usr/bin/docker run \
--name=matrixdotorg-synapse \
--rm \
--mount type=volume,src=synapse-data,dst=/data \
-e SYNAPSE_SERVER_NAME=matrix.fst.ee \
-e SYNAPSE_REPORT_STATS=yes \
matrixdotorg/synapse:latest generate
ExecStart=docker run \
--name=matrixdotorg-synapse \
--mount type=volume,src=synapse-data,dst=/data \
matrixdotorg/synapse:latest
[Install]
WantedBy=multi-user.target