From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EB93A13835A for ; Mon, 15 Feb 2021 20:13:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A7231E08CD; Mon, 15 Feb 2021 20:13:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8FADEE08CD for ; Mon, 15 Feb 2021 20:13:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2631E3406F2 for ; Mon, 15 Feb 2021 20:13:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A0AE74DB for ; Mon, 15 Feb 2021 20:13:48 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1613419688.27afa4f1ecbbd975a3c5d90c72748ffffdaab82a.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-tv/mythtv/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-tv/mythtv/files/mythbackend.init-r2 X-VCS-Directories: media-tv/mythtv/files/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 27afa4f1ecbbd975a3c5d90c72748ffffdaab82a X-VCS-Branch: master Date: Mon, 15 Feb 2021 20:13:48 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 654451ac-04b4-4017-b168-7b5a697b598e X-Archives-Hash: 40c2d121d63f3bd9d7e6e191e99092ad commit: 27afa4f1ecbbd975a3c5d90c72748ffffdaab82a Author: Michael Mair-Keimberger levelnine at> AuthorDate: Mon Feb 15 16:58:58 2021 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Mon Feb 15 20:08:08 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27afa4f1 media-tv/mythtv: remove unused file Closes: https://github.com/gentoo/gentoo/pull/19475 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Michael Mair-Keimberger levelnine.at> Signed-off-by: Conrad Kostecki gentoo.org> media-tv/mythtv/files/mythbackend.init-r2 | 72 ------------------------------- 1 file changed, 72 deletions(-) diff --git a/media-tv/mythtv/files/mythbackend.init-r2 b/media-tv/mythtv/files/mythbackend.init-r2 deleted file mode 100644 index dc063030d47..00000000000 --- a/media-tv/mythtv/files/mythbackend.init-r2 +++ /dev/null @@ -1,72 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -description="MythTV backend recording daemon" -extra_started_commands="resched upnprebuild" -description_resched="Forces the recording scheduler to update" -description_upnprebuild="Rebuilds the UPnP media cache" - -MYTHBACKEND_OPTS=${MYTHBACKEND_OPTS:-"${MYTHBACKEND_OPTS}"} -MYTHBACKEND_VERBOSE=${MYTHBACKEND_VERBOSE:-"general"} -MYTHBACKEND_LOGGING=${MYTHBACKEND_LOGGING:-"files"} - -name="MythTV backend" -command="/usr/bin/mythbackend" -pidfile="/run/mythtv/mythbackend.pid" -start_stop_daemon_args="--pidfile ${pidfile} --user mythtv:video" -command_args="--daemon --pidfile ${pidfile} --verbose ${MYTHBACKEND_VERBOSE} ${MYTHBACKEND_OPTS}" - -depend() { - # mythbackend doesn't need to run on the same machine that - # mysql runs on. so its use for that reason - use logger net.lo mysql LCDd -} - -start_pre() { - case "${MYTHBACKEND_LOGGING}" in - database) logging="--enable-dblog" ;; - syslog\ *) logging="--${MYTHBACKEND_LOGGING}" ;; - files) logging="--logpath /var/log/mythtv" ;; - console) logging="--nologserver" ;; - *) - eerror "Invalid MYTHBACKEND_LOGGING value" - exit 1 - ;; - esac - - #fixes for bug #101308 - unset DISPLAY - unset SESSION_MANAGER - - # Work around any strange permissions that may be on these files. - [ "x${MYTHBACKEND_LOGGING}" = "xfiles" ] && \ - checkpath --directory --owner mythtv:video --mode 0755 /var/log/mythtv - checkpath --directory --owner mythtv:video --mode 0775 /home/mythtv - checkpath --directory --owner mythtv:video --mode 0750 /run/mythtv -} - -start() { - ebegin "Starting ${name}" - start-stop-daemon --start ${start_stop_daemon_args} --exec ${command} \ - -- ${command_args} ${logging} - eend $? -} - -stop() { - ebegin "Stopping ${name}" - start-stop-daemon --stop --retry 10 --progress --pidfile ${pidfile} - eend $? -} - -resched() { - ebegin "Updating the recording scheduler" - ${command} --resched - eend $? -} - -upnprebuild() { - ebegin "Rebuilding UPnP media cache" - ${command} --upnprebuild - eend $? -}