From: "Sven Wegener" <swegener@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/pdns-recursor/files/, net-dns/pdns-recursor/
Date: Tue, 19 Jul 2016 22:03:42 +0000 (UTC) [thread overview]
Message-ID: <1468965769.5150f75e101d89f146fb2286e768b12ac0c823d0.swegener@gentoo> (raw)
commit: 5150f75e101d89f146fb2286e768b12ac0c823d0
Author: Sven Wegener <swegener <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 19 21:23:10 2016 +0000
Commit: Sven Wegener <swegener <AT> gentoo <DOT> org>
CommitDate: Tue Jul 19 22:02:49 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5150f75e
net-dns/pdns-recursor: Rename init script, bug #322581
Package-Manager: portage-2.2.28
Signed-off-by: Sven Wegener <swegener <AT> gentoo.org>
net-dns/pdns-recursor/files/pdns-recursor | 28 ++++++++++++++++++++++++
net-dns/pdns-recursor/pdns-recursor-4.0.0.ebuild | 2 +-
2 files changed, 29 insertions(+), 1 deletion(-)
diff --git a/net-dns/pdns-recursor/files/pdns-recursor b/net-dns/pdns-recursor/files/pdns-recursor
new file mode 100644
index 0000000..151176b
--- /dev/null
+++ b/net-dns/pdns-recursor/files/pdns-recursor
@@ -0,0 +1,28 @@
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+extra_started_commands="ping"
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting PowerDNS Recursor"
+ /usr/sbin/pdns_recursor --daemon=yes &>/dev/null
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping PowerDNS Recursor"
+ /usr/sbin/rec_control quit &>/dev/null
+ eend $?
+}
+
+ping() {
+ ebegin "Pinging PowerDNS Recursor"
+ /usr/sbin/rec_control ping &>/dev/null
+ eend $?
+}
diff --git a/net-dns/pdns-recursor/pdns-recursor-4.0.0.ebuild b/net-dns/pdns-recursor/pdns-recursor-4.0.0.ebuild
index ac2fe3d..4fd1a47 100644
--- a/net-dns/pdns-recursor/pdns-recursor-4.0.0.ebuild
+++ b/net-dns/pdns-recursor/pdns-recursor-4.0.0.ebuild
@@ -50,7 +50,7 @@ src_install() {
insinto /etc/powerdns
doins "${FILESDIR}"/recursor.conf
- doinitd "${FILESDIR}"/precursor
+ doinitd "${FILESDIR}"/pdns-recursor
# Pretty ugly, uh?
dodir /var/lib/powerdns/var/lib
next reply other threads:[~2016-07-19 22:03 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-19 22:03 Sven Wegener [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-08 8:25 [gentoo-commits] repo/gentoo:master commit in: net-dns/pdns-recursor/files/, net-dns/pdns-recursor/ Sven Wegener
2024-08-11 20:30 Sven Wegener
2022-08-22 18:54 Sven Wegener
2022-06-16 21:25 Sven Wegener
2020-10-17 9:23 Sven Wegener
2020-10-14 7:13 Sven Wegener
2020-05-30 9:53 Sven Wegener
2020-05-30 9:53 Sven Wegener
2019-01-25 6:33 Sven Wegener
2019-01-21 15:22 Sven Wegener
2016-12-30 11:27 Sven Wegener
2016-10-14 12:48 Sven Wegener
2015-11-03 19:30 Sven Wegener
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1468965769.5150f75e101d89f146fb2286e768b12ac0c823d0.swegener@gentoo \
--to=swegener@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox