From be5b30fa0a6591f42895a738877008e3a154a5ca Mon Sep 17 00:00:00 2001 From: Adam Tkac Date: Wed, 19 Nov 2008 15:44:01 +0000 Subject: [PATCH] Forgot to add patch to CVS --- unbound-1.1.0-log_open.patch | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 unbound-1.1.0-log_open.patch diff --git a/unbound-1.1.0-log_open.patch b/unbound-1.1.0-log_open.patch new file mode 100644 index 0000000..be8f9af --- /dev/null +++ b/unbound-1.1.0-log_open.patch @@ -0,0 +1,23 @@ +diff -up unbound-1.1.0/daemon/daemon.c.log_open unbound-1.1.0/daemon/daemon.c +--- unbound-1.1.0/daemon/daemon.c.log_open 2008-11-19 15:36:53.000000000 +0100 ++++ unbound-1.1.0/daemon/daemon.c 2008-11-19 15:37:34.000000000 +0100 +@@ -417,7 +417,6 @@ daemon_fork(struct daemon* daemon) + signal_handling_playback(daemon->workers[0]); + + /* Start resolver service on main thread. */ +- log_info("start of service (%s).", PACKAGE_STRING); + worker_work(daemon->workers[0]); + log_info("service stopped (%s).", PACKAGE_STRING); + +diff -up unbound-1.1.0/daemon/unbound.c.log_open unbound-1.1.0/daemon/unbound.c +--- unbound-1.1.0/daemon/unbound.c.log_open 2008-11-19 15:38:49.000000000 +0100 ++++ unbound-1.1.0/daemon/unbound.c 2008-11-19 15:39:11.000000000 +0100 +@@ -392,6 +392,8 @@ perform_setup(struct daemon* daemon, str + (void)daemon; + #endif + ++ log_info("start of service (%s).", PACKAGE_STRING); ++ + /* box into the chroot */ + #ifdef HAVE_CHROOT + if(cfg->chrootdir && cfg->chrootdir[0]) {