Implement synchrotron balancing in nginx, replaces need for matrix-synchrotron-balancer

This commit is contained in:
uumas
2023-04-19 15:19:30 +03:00
parent 361e7d7e6b
commit 0f86bfbc02
9 changed files with 39 additions and 116 deletions

View File

@@ -1,17 +0,0 @@
# {{ ansible_managed }}
[Unit]
Description=Matrix Synchrotron %i
After=matrix-synapse.service
PartOf=matrix-synapse.service
[Service]
Type=simple
User=matrix-synchrotron
WorkingDirectory=/opt/matrix-synchrotron/%i
ExecStart=/opt/matrix-synchrotron/src/matrix-synchrotron-balancer
Restart=always
RestartSec=3
[Install]
WantedBy=matrix-synapse.service