• Yossi Gottlieb's avatar
    Improve and clean up supervised process support. (#8036) · d638b058
    Yossi Gottlieb authored
    * Configuration file default should now be "auto".
    * Expose "process_supervised" as an info field.
    * Log messages improvements (clarify required systemd config, report
      auto-detected supervision mode, etc.)
    * Set server.supervised properly, so it can take precedence of
      "daemonize" configuration.
    * Produce clear warning if systemd is detected/requested but executable
      is compiled without support for it, instead of silently ignoring.
    * Handle systemd notification error on startup, and turn off supervised
      mode if it failed.
    d638b058
server.c 201 KB