2012-01-03 16:16:12 +01:00
|
|
|
Index: bin/named/include/named/globals.h
|
|
|
|
===================================================================
|
|
|
|
--- bin/named/include/named/globals.h.orig
|
|
|
|
+++ bin/named/include/named/globals.h
|
|
|
|
@@ -134,9 +134,9 @@ EXTERN const char * lwresd_g_defaultpid
|
2009-02-06 20:40:10 +01:00
|
|
|
"lwresd.pid");
|
|
|
|
#else
|
2006-12-19 00:15:14 +01:00
|
|
|
EXTERN const char * ns_g_defaultpidfile INIT(NS_LOCALSTATEDIR
|
|
|
|
- "/run/named.pid");
|
|
|
|
+ "/run/named/named.pid");
|
|
|
|
EXTERN const char * lwresd_g_defaultpidfile INIT(NS_LOCALSTATEDIR
|
2009-02-06 20:40:10 +01:00
|
|
|
- "/run/lwresd.pid");
|
|
|
|
+ "/run/named/lwresd.pid");
|
|
|
|
#endif
|
2006-12-19 00:15:14 +01:00
|
|
|
|
2009-02-06 20:40:10 +01:00
|
|
|
EXTERN const char * ns_g_username INIT(NULL);
|
2012-01-03 16:16:12 +01:00
|
|
|
Index: contrib/nanny/nanny.pl
|
|
|
|
===================================================================
|
|
|
|
--- contrib/nanny/nanny.pl.orig
|
|
|
|
+++ contrib/nanny/nanny.pl
|
2006-12-19 00:15:14 +01:00
|
|
|
@@ -19,7 +19,7 @@
|
|
|
|
|
|
|
|
# A simple nanny to make sure named stays running.
|
|
|
|
|
|
|
|
-$pid_file_location = '/var/run/named.pid';
|
|
|
|
+$pid_file_location = '/var/run/named/named.pid';
|
|
|
|
$nameserver_location = 'localhost';
|
|
|
|
$dig_program = 'dig';
|
|
|
|
$named_program = 'named';
|