diff options
| author | Mathieu Arnold <mat@FreeBSD.org> | 2018-02-07 14:29:08 +0000 |
|---|---|---|
| committer | Mathieu Arnold <mat@FreeBSD.org> | 2018-02-07 14:29:08 +0000 |
| commit | bd282bafccc5e15be322f69ea7e75e9117f658fa (patch) | |
| tree | 1f6cadeb84ae9757ea5550f0223e84d680993177 /dns/bind99/files/patch-bin_named_include_named_globals.h | |
| parent | net-mgmt/cacti: Update to 1.1.34 (diff) | |
Teach named where its pid file should be by default, to be consistent
with the default configuration, rc script, man pages...
PR: 225687
Reported by: John W. O'Brien
Sponsored by: Absolight
Diffstat (limited to 'dns/bind99/files/patch-bin_named_include_named_globals.h')
| -rw-r--r-- | dns/bind99/files/patch-bin_named_include_named_globals.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dns/bind99/files/patch-bin_named_include_named_globals.h b/dns/bind99/files/patch-bin_named_include_named_globals.h new file mode 100644 index 000000000000..d7b6517e3423 --- /dev/null +++ b/dns/bind99/files/patch-bin_named_include_named_globals.h @@ -0,0 +1,13 @@ +We reference the pid file as being run/named/pid everywere else. + +--- bin/named/include/named/globals.h.orig 2018-01-04 05:41:15 UTC ++++ bin/named/include/named/globals.h +@@ -134,7 +134,7 @@ EXTERN const char * ns_g_defaultsession + #if NS_RUN_PID_DIR + EXTERN const char * ns_g_defaultpidfile INIT(NS_LOCALSTATEDIR + "/run/named/" +- "named.pid"); ++ "pid"); + EXTERN const char * lwresd_g_defaultpidfile INIT(NS_LOCALSTATEDIR + "/run/lwresd/" + "lwresd.pid"); |
