7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 1 | #!/bin/bash |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 2 | set -e |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 3 | export SYNAPSE_SERVER_NAME=matrix-sdk.rs |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 4 | export SYNAPSE_REPORT_STATS=no |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 5 | echo " ====== Generating config ====== " |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 6 | /start.py generate |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 7 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 8 | # Courtesy of https://github.com/michaelkaye/setup-matrix-synapse/blob/e2067245b5265640f94d310fc79a1d388cc70452/create.js#L99 |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 9 | echo " ====== Patching for CI ====== " |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 10 | echo """ |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 11 | enable_registration: true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 12 | enable_registration_without_verification: true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 13 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 14 | rc_message: |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 15 | per_second: 1000 |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 16 | burst_count: 1000 |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 17 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 18 | rc_registration: |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 19 | per_second: 1000 |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 20 | burst_count: 1000 |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 21 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 22 | rc_login: |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 23 | address: |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 24 | per_second: 1000 |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 25 | burst_count: 1000 |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 26 | account: |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 27 | per_second: 1000 |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 28 | burst_count: 1000 |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 29 | failed_attempts: |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 30 | per_second: 1000 |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 31 | burst_count: 1000 |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 32 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 33 | rc_admin_redaction: |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 34 | per_second: 1000 |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 35 | burst_count: 1000 |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 36 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 37 | rc_joins: |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 38 | local: |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 39 | per_second: 1000 |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 40 | burst_count: 1000 |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 41 | remote: |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 42 | per_second: 1000 |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 43 | burst_count: 1000 |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 44 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 45 | rc_3pid_validation: |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 46 | per_second: 1000 |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 47 | burst_count: 1000 |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 48 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 49 | rc_invites: |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 50 | per_room: |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 51 | per_second: 1000 |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 52 | burst_count: 1000 |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 53 | per_user: |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 54 | per_second: 1000 |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 55 | burst_count: 1000 |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 56 | per_issuer: |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 57 | per_second: 1000 |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 58 | burst_count: 1000 |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 59 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 60 | experimental_features: |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 61 | msc3266_enabled: true |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 62 | """ >> /data/homeserver.yaml |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 63 | |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 64 | echo " ====== Starting server with: ====== " |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 65 | cat /data/homeserver.yaml |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 66 | echo " ====== STARTING ====== " |
7ff8adafe9e4 | atagen | 2026-10-22 12:30 UTC | 67 | /start.py run |