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 6C20513835A for ; Wed, 6 Jan 2021 09:15:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4F9B8E08C4; Wed, 6 Jan 2021 09:15:41 +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 331ADE08C4 for ; Wed, 6 Jan 2021 09:15:41 +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 30DF334121F for ; Wed, 6 Jan 2021 09:15:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DFB14490 for ; Wed, 6 Jan 2021 09:15:38 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1609884922.d8b89a668b1eb96f30b427e3d83a968d6630a3f9.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: www-apps/jackett-bin/files/, www-apps/jackett-bin/ X-VCS-Repository: repo/proj/guru X-VCS-Files: www-apps/jackett-bin/files/jackett.service www-apps/jackett-bin/jackett-bin-0.17.197-r1.ebuild www-apps/jackett-bin/jackett-bin-0.17.197.ebuild X-VCS-Directories: www-apps/jackett-bin/ www-apps/jackett-bin/files/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: d8b89a668b1eb96f30b427e3d83a968d6630a3f9 X-VCS-Branch: master Date: Wed, 6 Jan 2021 09:15:38 +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: 0ca20bee-8fcf-483f-9f62-9f5d8d3224e0 X-Archives-Hash: 98b16db7f447cc575689770c23c64ed9 commit: d8b89a668b1eb96f30b427e3d83a968d6630a3f9 Author: Aisha Tammy aisha cc> AuthorDate: Tue Jan 5 22:15:14 2021 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Tue Jan 5 22:15:22 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d8b89a66 www-apps/jackett-bin: add systemd service Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Aisha Tammy aisha.cc> www-apps/jackett-bin/files/jackett.service | 17 +++++++++++++++++ ...n-0.17.197.ebuild => jackett-bin-0.17.197-r1.ebuild} | 3 +++ 2 files changed, 20 insertions(+) diff --git a/www-apps/jackett-bin/files/jackett.service b/www-apps/jackett-bin/files/jackett.service new file mode 100644 index 00000000..b2f2ee87 --- /dev/null +++ b/www-apps/jackett-bin/files/jackett.service @@ -0,0 +1,17 @@ +[Unit] +Description=Jackett Daemon +After=network.target + +[Service] +SyslogIdentifier=jackett +Restart=always +RestartSec=5 +Type=simple +User=jackett +Group=jackett +WorkingDirectory=/var/jackett +ExecStart=/bin/sh "/opt/jackett/jackett_launcher.sh" +TimeoutStopSec=30 + +[Install] +WantedBy=multi-user.target diff --git a/www-apps/jackett-bin/jackett-bin-0.17.197.ebuild b/www-apps/jackett-bin/jackett-bin-0.17.197-r1.ebuild similarity index 93% rename from www-apps/jackett-bin/jackett-bin-0.17.197.ebuild rename to www-apps/jackett-bin/jackett-bin-0.17.197-r1.ebuild index 3e915d39..b2966ed1 100644 --- a/www-apps/jackett-bin/jackett-bin-0.17.197.ebuild +++ b/www-apps/jackett-bin/jackett-bin-0.17.197-r1.ebuild @@ -3,6 +3,8 @@ EAPI=7 +inherit systemd + DESCRIPTION="API Support for your favorite torrent trackers" HOMEPAGE="https://github.com/Jackett/Jackett" SRC_URI=" @@ -29,5 +31,6 @@ src_install() { dodir /opt/jackett cp -a "${S}"/. "${ED}"/opt/jackett || die newinitd "${FILESDIR}"/jackett.initd jackett + systemd_dounit "${FILESDIR}"/jackett.service doenvd "${FILESDIR}"/99jackett }