diff options
author | Sven Wegener <swegener@gentoo.org> | 2020-09-22 23:21:17 +0200 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2020-09-22 23:41:55 +0200 |
commit | 85a794ee3a6f0bb17a0d669d1f37b1fa4204fca3 (patch) | |
tree | c7b448775049bae48c554f2a0b1a2c0c4a088ee3 /net-dns | |
parent | sci-libs/qd: update HOMEPAGE, use https (diff) | |
download | gentoo-85a794ee3a6f0bb17a0d669d1f37b1fa4204fca3.tar.gz gentoo-85a794ee3a6f0bb17a0d669d1f37b1fa4204fca3.tar.bz2 gentoo-85a794ee3a6f0bb17a0d669d1f37b1fa4204fca3.zip |
net-dns/pdns: Fix default pidfile location, bug #742962
Closes: https://bugs.gentoo.org/742962
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Sven Wegener <swegener@gentoo.org>
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/pdns/files/pdns-r1 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net-dns/pdns/files/pdns-r1 b/net-dns/pdns/files/pdns-r1 index 76c4a3f1bbf5..4c5241e5155f 100644 --- a/net-dns/pdns/files/pdns-r1 +++ b/net-dns/pdns/files/pdns-r1 @@ -1,5 +1,5 @@ #!/sbin/openrc-run -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 PDNS_CONFIGDIR="${PDNS_CONFIGDIR:-/etc/powerdns}" @@ -10,7 +10,7 @@ PDNS_STOP_TIMEOUT="${PDNS_STOP_TIMEOUT:-10}" PDNS_CONFIG="${PDNS_CONFIGDIR}/pdns${PDNS_INSTANCE:+-${PDNS_INSTANCE}}.conf" PDNS_CHROOTDIR="$( awk -F = '$1 == "chroot" { print $2 }' "${PDNS_CONFIG}" )" PDNS_SOCKETDIR="$( awk -F = '$1 == "socket-dir" { print $2 }' "${PDNS_CONFIG}" )" -[ -z "${PDNS_SOCKETDIR}" -a -z "${PDNS_CHROOTDIR}" ] && PDNS_SOCKETDIR="/var/run" +[ -z "${PDNS_SOCKETDIR}" -a -z "${PDNS_CHROOTDIR}" ] && PDNS_SOCKETDIR="/var/run/pdns" name="PowerDNS Authoritative Server${PDNS_INSTANCE:+ (${PDNS_INSTANCE})}" description="Authoritative name server" |