On Thu, Sep 30, 2021 at 9:54 AM Florian Wagner <flor...@wagner-flo.net> wrote:
>
> Hi everyone,
>
> for a module I'm writing I need know - preferably in my post_config
> handler - if the webserver was gracefully reloaded (SIGUSR1) just now.
> Is there some simple solution to accomplish this?

Maybe the config generation helps?  You can see the value in
/server-status interactively.

    ap_generation_t my_generation;
    ap_mpm_query(AP_MPMQ_GENERATION, &my_generation);

Reply via email to