summarylogtreecommitdiffstats
path: root/README
blob: c0d53882f2f017afd8da6027d287dd8a14443fbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
The systemd service maubot.service expects config and registration files here.

Quick Setup:
  ( adapted from https://github.com/tulir/maubot/wiki/Bridge-setup )

1. Copy example config and ensure service can read it
 sudo cp /usr/share/maubot/example-config.yaml /etc/synapse/maubot/config.yaml
 sudo chown maubot /etc/synapse/maubot/config.yaml

2. Update the config to your liking. You'll at least need to change the
  homeserver settings. You also need to add your homeserver in the permissions
  section and the auth server.

3. Generate the registration:
 sudo maubot -g -c /etc/synapse/maubot/config.yaml \
	  -r /etc/synapse/maubot/registration.yaml

4. Add the registration file to Synapse's homeserver.yaml:
 #homeserver.yaml
 app_service_config_files:
    - /etc/synapse/maubot/registration.yaml

5. Restart synapse
 sudo systemctl restart synapse

6. Create/update the database:
 sudo maubot-db-upgrade

7. Start the bridge:
 sudo systemctl start maubot