From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-proxy/nutcracker/files/
Date: Tue, 12 Mar 2024 05:37:16 +0000 (UTC) [thread overview]
Message-ID: <1710221295.b688088071cf1e7fcafb50cef1abc81c523a50de.sam@gentoo> (raw)
commit: b688088071cf1e7fcafb50cef1abc81c523a50de
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 12 05:28:11 2024 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar 12 05:28:15 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6880880
net-proxy/nutcracker: drop unused init files
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-proxy/nutcracker/files/nutcracker.confd | 9 -------
net-proxy/nutcracker/files/nutcracker.initd | 39 -----------------------------
2 files changed, 48 deletions(-)
diff --git a/net-proxy/nutcracker/files/nutcracker.confd b/net-proxy/nutcracker/files/nutcracker.confd
deleted file mode 100644
index 03393f23a64c..000000000000
--- a/net-proxy/nutcracker/files/nutcracker.confd
+++ /dev/null
@@ -1,9 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-#USER="nobody"
-#PIDFILE="/var/run/nutcracker.pid"
-#CONF_FILE="/etc/nutcracker/nutcracker.yaml"
-
-NUTCRACKER_BIN="/usr/bin/nutcracker"
-NUTCRACKER_OPTS="--daemonize"
diff --git a/net-proxy/nutcracker/files/nutcracker.initd b/net-proxy/nutcracker/files/nutcracker.initd
deleted file mode 100644
index 47abe8f3cd45..000000000000
--- a/net-proxy/nutcracker/files/nutcracker.initd
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-USER="${USER:-nobody}"
-PIDFILE="${PIDFILE:-/var/run/nutcracker.pid}"
-NUTCRACKER_BIN="${NUTCRACKER_BIN:-/usr/bin/nutcracker}"
-CONF_FILE="${CONF_FILE:-/etc/nutcracker/nutcracker.yml}"
-
-depend() {
- need net
-}
-
-checkconf() {
- ebegin "Testing configuration"
- ${NUTCRACKER_BIN} --test-conf \
- --conf-file=${CONF_FILE} \
- >/dev/null 2>&1
- eend $?
-}
-
-start() {
- checkconf || exit 1
- ebegin "Starting Nutcracker"
- start-stop-daemon --start -u ${USER} \
- --name ${SVCNAME} \
- --exec ${NUTCRACKER_BIN} -- \
- --conf-file="${CONF_FILE}" \
- --pid-file=${PIDFILE} \
- ${NUTCRACKER_OPTS}
- eend $?
-}
-
-stop() {
- ebegin "Stopping Nutcracker"
- start-stop-daemon --stop --pidfile "${PIDFILE}"
- eend $?
-}
-
next reply other threads:[~2024-03-12 5:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-12 5:37 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-02-20 22:44 [gentoo-commits] repo/gentoo:master commit in: net-proxy/nutcracker/files/ Conrad Kostecki
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=1710221295.b688088071cf1e7fcafb50cef1abc81c523a50de.sam@gentoo \
--to=sam@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