From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1609993-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DB5D9158041 for <garchives@archives.gentoo.org>; Tue, 12 Mar 2024 05:37:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0FC81E2A06; Tue, 12 Mar 2024 05:37:20 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E828BE2A06 for <gentoo-commits@lists.gentoo.org>; Tue, 12 Mar 2024 05:37:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3BB3E34300B for <gentoo-commits@lists.gentoo.org>; Tue, 12 Mar 2024 05:37:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3F4BDFCB for <gentoo-commits@lists.gentoo.org>; Tue, 12 Mar 2024 05:37:16 +0000 (UTC) From: "Sam James" <sam@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org> Message-ID: <1710221295.b688088071cf1e7fcafb50cef1abc81c523a50de.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-proxy/nutcracker/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-proxy/nutcracker/files/nutcracker.confd net-proxy/nutcracker/files/nutcracker.initd X-VCS-Directories: net-proxy/nutcracker/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: b688088071cf1e7fcafb50cef1abc81c523a50de X-VCS-Branch: master Date: Tue, 12 Mar 2024 05:37:16 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 08594232-17ea-44ac-bb1f-0676794bcf97 X-Archives-Hash: 2ae8b44cc37b4097527fa06a63439cb0 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 $? -} -