public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
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/
Date: Sat, 14 Jan 2017 19:13:56 +0000 (UTC)	[thread overview]
Message-ID: <1484421231.ded639753190a409a10b2038b8f3b1f9e7a1d79d.swegener@gentoo> (raw)

commit:     ded639753190a409a10b2038b8f3b1f9e7a1d79d
Author:     Sven Wegener <swegener <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 14 19:11:32 2017 +0000
Commit:     Sven Wegener <swegener <AT> gentoo <DOT> org>
CommitDate: Sat Jan 14 19:13:51 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ded63975

net-dns/pdns-recursor: Replace bashisms in init script, bug #605694

Package-Manager: Portage-2.3.0, Repoman-2.3.1

 net-dns/pdns-recursor/files/pdns-recursor | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-dns/pdns-recursor/files/pdns-recursor b/net-dns/pdns-recursor/files/pdns-recursor
index f114d5b..8300b70 100644
--- a/net-dns/pdns-recursor/files/pdns-recursor
+++ b/net-dns/pdns-recursor/files/pdns-recursor
@@ -1,5 +1,5 @@
 #!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -11,18 +11,18 @@ depend() {
 
 start() {
 	ebegin "Starting PowerDNS Recursor"
-	/usr/sbin/pdns_recursor --daemon=yes &>/dev/null
+	/usr/sbin/pdns_recursor --daemon=yes >/dev/null 2>&1
 	eend $?
 }
 
 stop() {
 	ebegin "Stopping PowerDNS Recursor"
-	/usr/bin/rec_control quit &>/dev/null
+	/usr/bin/rec_control quit >/dev/null 2>&1
 	eend $?
 }
 
 ping() {
 	ebegin "Pinging PowerDNS Recursor"
-	/usr/bin/rec_control ping &>/dev/null
+	/usr/bin/rec_control ping >/dev/null 2>&1
 	eend $?
 }


             reply	other threads:[~2017-01-14 19:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-14 19:13 Sven Wegener [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-02-17 18:22 [gentoo-commits] repo/gentoo:master commit in: net-dns/pdns-recursor/files/ Sven Wegener
2021-06-05 21:23 Sven Wegener
2022-04-02 15:49 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=1484421231.ded639753190a409a10b2038b8f3b1f9e7a1d79d.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