• Johannes Truschnigg's avatar
    Use libsystemd's sd_notify for communicating redis status to systemd · 641c64ad
    Johannes Truschnigg authored
    Instead of replicating a subset of libsystemd's sd_notify(3) internally,
    use the dynamic library provided by systemd to communicate with the
    service manager.
    
    When systemd supervision was auto-detected or configured, communicate
    the actual server status (i.e. "Loading dataset", "Waiting for
    master<->replica sync") to systemd, instead of declaring readiness right
    after initializing the server process.
    641c64ad
replication.c 127 KB