matrix-org / synapse

Synapse: Matrix homeserver written in Python/Twisted.
https://matrix-org.github.io/synapse
Apache License 2.0
11.79k stars 2.13k forks source link

Reloading appservices (SYN-444) #1354

Open matrixbot opened 9 years ago

matrixbot commented 9 years ago

Submitted by @​kegan:matrix.org It would be nice to be able to add, modify or remove app service registrations at runtime without having to restart the HS to reload homeserver.yaml - something like ./load-appservice.py appservice-registration.yaml

(Imported from https://matrix.org/jira/browse/SYN-444)

matrixbot commented 9 years ago

By @​matthew:matrix.org: the API that it hits should probably be specced as a rest endpoint in the admin namespace to allow future automation. (obviously this admin endpoint should be heavily locked down and probably not getatable from the AS itself)

-- NEB (Bot)

twouters commented 2 years ago

Some parts of synapse handle SIGHUP to update their configuration. Perhaps application service registrations could be reloaded on SIGHUP as an intermediate before specifying a full blown API?

michbsd commented 1 year ago

@ara4n any idea when this might be implemented? Having to restart Synapse whenever adding/removing appservers is not great™️