Gentoo Archives: gentoo-commits

From: Sven Wegener <swegener@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/pdns/files/
Date: Sat, 05 Jun 2021 21:23:18
Message-Id: 1622928059.9977fe38611c4c7cae10ceac1eafbabf08fa6546.swegener@gentoo
1 commit: 9977fe38611c4c7cae10ceac1eafbabf08fa6546
2 Author: Sven Wegener <swegener <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jun 5 20:57:44 2021 +0000
4 Commit: Sven Wegener <swegener <AT> gentoo <DOT> org>
5 CommitDate: Sat Jun 5 21:20:59 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9977fe38
7
8 net-dns/pdns: Force writing pidfile
9
10 Package-Manager: Portage-3.0.18, Repoman-3.0.2
11 Signed-off-by: Sven Wegener <swegener <AT> gentoo.org>
12
13 net-dns/pdns/files/pdns-r1 | 4 ++--
14 1 file changed, 2 insertions(+), 2 deletions(-)
15
16 diff --git a/net-dns/pdns/files/pdns-r1 b/net-dns/pdns/files/pdns-r1
17 index 4c5241e5155..ee8ef36640c 100644
18 --- a/net-dns/pdns/files/pdns-r1
19 +++ b/net-dns/pdns/files/pdns-r1
20 @@ -1,5 +1,5 @@
21 #!/sbin/openrc-run
22 -# Copyright 1999-2020 Gentoo Authors
23 +# Copyright 1999-2021 Gentoo Authors
24 # Distributed under the terms of the GNU General Public License v2
25
26 PDNS_CONFIGDIR="${PDNS_CONFIGDIR:-/etc/powerdns}"
27 @@ -22,7 +22,7 @@ description_ping="Ping the PowerDNS instance"
28 description_monitor="Starts in foreground with logging and console enabled"
29
30 command="/usr/sbin/pdns_server"
31 -command_args="--config-dir=${PDNS_CONFIGDIR}${PDNS_INSTANCE:+ --config-name=${PDNS_INSTANCE}}"
32 +command_args="--config-dir=${PDNS_CONFIGDIR}${PDNS_INSTANCE:+ --config-name=${PDNS_INSTANCE}} --write-pid=yes"
33 command_args_foreground="--daemon=no"
34 command_args_background="--daemon=yes"
35 yesno ${rc_verbose} || command_args_background="${command_args_background} >/dev/null 2>&1"