Skip to content
  • Tomasz Torcz's avatar
    fix and enable systemd watchdog · a8999acc
    Tomasz Torcz authored and Nick Mathewson's avatar Nick Mathewson committed
      There were following problems:
      - configure.ac wrongly checked for defined HAVE_SYSTEMD; this
        wasn't working, so the watchdog code was not compiled in.
        Replace library search with explicit version check
      - sd_notify() watchdog call was unsetting NOTIFY_SOCKET from env;
        this means only first "watchdog ping" was delivered, each
        subsequent one did not have socket to be sent to and systemd
        was killing service
      - after those fixes, enable Watchdog in systemd unit with one
        minute intervals
    a8999acc