[nsd-users] nsd init patch

Andrey Scopenco nsd at mchost.ru
Mon Apr 9 14:05:51 UTC 2012


Hello,

on the big installations NSD can stop some secs/mins and "nsdc restart"
fail.

this patch for nsd.init fix this:

--- /etc/init.d/nsd     2012-04-09 18:01:39.446909907 +0400
+++ /etc/init.d/nsd     2012-04-09 18:01:24.248314446 +0400
@@ -71,6 +71,7 @@
      # ensure notifies are sent at startup
      rm -f $NSD_XFRDFILE
   fi
+  while [[ $(pidof nsd) ]]; do sleep 1;done
   echo
   return $RETVAL
 }


-- 
Andrey Scopenco
http://www.mchost.ru



More information about the nsd-users mailing list