public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Patrick McLean" <chutzpah@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/exabgp/files/
Date: Mon, 18 Jul 2022 17:33:46 +0000 (UTC)	[thread overview]
Message-ID: <1658165607.ffc4d5d79fd487c931b6a0982c4b59a282879088.chutzpah@gentoo> (raw)

commit:     ffc4d5d79fd487c931b6a0982c4b59a282879088
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Wed Jun 29 09:01:13 2022 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Mon Jul 18 17:33:27 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffc4d5d7

net-misc/exabgp: remove unused file

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/26134
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>

 net-misc/exabgp/files/exabgp.initd-r1 | 64 -----------------------------------
 1 file changed, 64 deletions(-)

diff --git a/net-misc/exabgp/files/exabgp.initd-r1 b/net-misc/exabgp/files/exabgp.initd-r1
deleted file mode 100644
index 1d942d850253..000000000000
--- a/net-misc/exabgp/files/exabgp.initd-r1
+++ /dev/null
@@ -1,64 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-# default arguments
-: "${EXABGP_ARGS:=--env=/etc/${RC_SVCNAME}/exabgp.env /etc/${RC_SVCNAME}/exabgp.conf}"
-
-command="capsh"
-command_args="
-	--groups=${EXABGP_GROUP:=exabgp}
-	--user=${EXABGP_USER:=exabgp}
-	--caps='cap_net_admin+epi cap_setuid+ep-i cap_setgid+ep-i'
-	-- -c \"/usr/bin/exabgp ${EXABGP_ARGS}\""
-
-supervisor=supervise-daemon
-
-: "${pidfile:=/run/exabgp/${RC_SVCNAME}-supervisor.pid}"
-: "${output_log:=/var/log/${RC_SVCNAME}/exabgp.log}"
-: "${error_log:=/var/log/${RC_SVCNAME}/exabgp.log}"
-
-extra_started_commands="routes sessions"
-extra_commands="checkconfig"
-
-depend() {
-	need net
-}
-
-start_pre() {
-	checkpath -q -d -m 0755 -o "${EXABGP_USER}:${EXABGP_GROUP}" \
-		/run/exabgp || return
-
-	checkpath -q -p -m 0600 -o "${EXABGP_USER}:${EXABGP_GROUP}" \
-		/run/exabgp/${RC_SVCNAME}.{in,out} || return
-
-	checkpath -q -d -m 0755 -o "${EXABGP_USER}:${EXABGP_GROUP}" \
-		"/var/log/${RC_SVCNAME}" || return
-
-	checkconfig || return
-}
-
-stop_pre() {
-	# don't restart if the configuration is bad
-	if [ "${RC_CMD}" = restart ]; then
-		checkconfig || return
-	fi
-}
-
-checkconfig() {
-	ebegin "Checking configuration for ${RC_SVCNAME}"
-	exabgp -t ${EXABGP_ARGS}
-	eend ${?} "Invalid configuration"
-}
-
-sessions() {
-	ebegin "Querying sessions"
-	exabgpcli --env /etc/${RC_SVCNAME}/exabgp.env show neighbor summary
-	eend ${?} "exabgpcli failed"
-}
-
-routes() {
-	ebegin "Querying routes"
-	exabgpcli --env /etc/${RC_SVCNAME}/exabgp.env show adj-rib out
-	eend ${?} "exabgpcli failed"
-}


             reply	other threads:[~2022-07-18 17:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-18 17:33 Patrick McLean [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-05-17 17:42 [gentoo-commits] repo/gentoo:master commit in: net-misc/exabgp/files/ Patrick McLean
2021-05-15  1:38 Patrick McLean
2021-05-14 23:49 Patrick McLean
2020-05-20  1:16 Patrick McLean

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=1658165607.ffc4d5d79fd487c931b6a0982c4b59a282879088.chutzpah@gentoo \
    --to=chutzpah@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