opnsense-ports/dns/bind9-devel/files/patch-bin_named_include_nam...

14 lines
514 B
C

We reference the pid file as being run/named/pid everywere else.
--- bin/named/include/named/globals.h.orig 2019-11-12 11:24:41 UTC
+++ bin/named/include/named/globals.h
@@ -131,7 +131,7 @@ EXTERN bool named_g_forcelock INIT(false);
#if NAMED_RUN_PID_DIR
EXTERN const char * named_g_defaultpidfile INIT(NAMED_LOCALSTATEDIR
"/run/named/"
- "named.pid");
+ "pid");
#else
EXTERN const char * named_g_defaultpidfile INIT(NAMED_LOCALSTATEDIR
"/run/named.pid");