]> granicus.if.org Git - pdns/commitdiff
Fix PIDDIR detection on CentOS 6
authorPieter Lexis <pieter.lexis@powerdns.com>
Wed, 6 Dec 2017 14:02:30 +0000 (15:02 +0100)
committerPieter Lexis <pieter.lexis@powerdns.com>
Wed, 6 Dec 2017 14:02:30 +0000 (15:02 +0100)
Fixes #6051

build-scripts/build-recursor-rpm

index b4d53eb8c3ccf9ec03717e50567c408588ec0819..b48aab951375f6e1bff25cb20c97c4e37dab6649 100755 (executable)
@@ -46,7 +46,7 @@ if [ -f /etc/redhat-release ]; then
 
 RETVAL=0
 
-PIDDIR=\$(awk -F= '/^socket-dir=/ {print \$2}' /etc/powerdns/recursor.conf)
+PIDDIR=\$(awk -F= '/^socket-dir=/ {print \$2}' /etc/pdns-recursor/recursor.conf)
 if [ -z "\$PIDDIR" ]; then PIDDIR=/var/run; fi
 mkdir -p "\$PIDDIR"