ports/dns/bind918/files/patch-bin_named_include_named_globals.h
2023-01-25 17:34:18 +01:00

13 lines
528 B
C

We reference the pid file as being run/named/pid everywere else.
--- bin/named/include/named/globals.h.orig 2023-01-12 22:21:15 UTC
+++ bin/named/include/named/globals.h
@@ -132,7 +132,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 /* if NAMED_RUN_PID_DIR */
EXTERN const char *named_g_defaultpidfile INIT(NAMED_LOCALSTATEDIR "/run/"
"named.pid");