Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Optional integration with systemd sd_notify #5676

@michaelkaye

Description

@michaelkaye

Description:

Using systemd to control synapse is mostly working, however we are currently unable to manage multiple workers in a 100% reliable fashion, as we cannot reliably tell when the master process has finished starting up compared to the worker processes.

It would be good to integrate with sd_notify such that if configured, synapse could pass READY=1 to systemd on a successful startup.

https://www.freedesktop.org/software/systemd/man/sd_notify.html

While working on this we could also provide the STATUS= to provide feedback on current state of synapse while starting [eg, if long-running background processes are going, such as DB re-indexing]

Metadata

Metadata

Assignees

No one assigned

    Labels

    z-p2(Deprecated Label)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions