From: Pieter Lexis Date: Mon, 25 Apr 2016 15:51:13 +0000 (+0200) Subject: recursor: add sd_notify() support X-Git-Tag: rec-4.0.0-alpha3~5^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b6720de8dd7c3f9bdad7e330f0c29dd8f9661a9;p=thirdparty%2Fpdns.git recursor: add sd_notify() support --- diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index 2978f11d96..7fecde0463 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -88,6 +88,10 @@ extern SortList g_sortlist; #include "dnsmessage.pb.h" #endif +#ifdef HAVE_SYSTEMD +#include +#endif + #ifndef RECURSOR #include "statbag.hh" StatBag S; @@ -2657,6 +2661,9 @@ int serviceMain(int argc, char*argv[]) if(g_numThreads == 1) { L<