diff options
author | Sven Wegener <swegener@gentoo.org> | 2021-06-05 22:57:44 +0200 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2021-06-05 23:20:59 +0200 |
commit | 9977fe38611c4c7cae10ceac1eafbabf08fa6546 (patch) | |
tree | 428aa54f84348893fed762dee562ead0c30bc0a7 /net-dns | |
parent | net-dns/pdns: Cleanup (diff) | |
download | gentoo-9977fe38611c4c7cae10ceac1eafbabf08fa6546.tar.gz gentoo-9977fe38611c4c7cae10ceac1eafbabf08fa6546.tar.bz2 gentoo-9977fe38611c4c7cae10ceac1eafbabf08fa6546.zip |
net-dns/pdns: Force writing pidfile
Package-Manager: Portage-3.0.18, Repoman-3.0.2
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 4c5241e5155f..ee8ef36640c7 100644 --- a/net-dns/pdns/files/pdns-r1 +++ b/net-dns/pdns/files/pdns-r1 @@ -1,5 +1,5 @@ #!/sbin/openrc-run -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 PDNS_CONFIGDIR="${PDNS_CONFIGDIR:-/etc/powerdns}" @@ -22,7 +22,7 @@ description_ping="Ping the PowerDNS instance" description_monitor="Starts in foreground with logging and console enabled" command="/usr/sbin/pdns_server" -command_args="--config-dir=${PDNS_CONFIGDIR}${PDNS_INSTANCE:+ --config-name=${PDNS_INSTANCE}}" +command_args="--config-dir=${PDNS_CONFIGDIR}${PDNS_INSTANCE:+ --config-name=${PDNS_INSTANCE}} --write-pid=yes" command_args_foreground="--daemon=no" command_args_background="--daemon=yes" yesno ${rc_verbose} || command_args_background="${command_args_background} >/dev/null 2>&1" |