Note that named does not work with openresolv for SIGHUP.
authorRoy Marples <roy@marples.name>
Thu, 25 Feb 2016 21:09:19 +0000 (21:09 +0000)
committerRoy Marples <roy@marples.name>
Thu, 25 Feb 2016 21:09:19 +0000 (21:09 +0000)
named.in

index de61906aef14a394dc4ebefc7d760dd10c981084..24f5caedf045323e58435ec6f852775c4474184e 100644 (file)
--- a/named.in
+++ b/named.in
@@ -105,12 +105,7 @@ if [ -n "$named_zones" ]; then
        fi
 fi
 
-# Try to send SIGHUP first
-if $changed && [ -s "$named_pid" ]; then
-       echo "SENDING HUP"
-       kill -SIGHUP $(cat "$named_pid") && changed=false
-fi
-
+# named does not seem to work with SIGHUP which is a same
 if $changed; then
        echo "RESTARTING"
        if [ -n "$named_restart" ]; then