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 326BE1382C5 for ; Wed, 9 Dec 2020 14:14:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 86199E0885; Wed, 9 Dec 2020 14:14:34 +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 6E110E0885 for ; Wed, 9 Dec 2020 14:14:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 7C228340E63 for ; Wed, 9 Dec 2020 14:14:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0782E46C for ; Wed, 9 Dec 2020 14:14:31 +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: <1607446304.047edc4a90453a663c71cc93221021e300152efc.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/pcs/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sys-cluster/pcs/pcs-0.10.7.ebuild X-VCS-Directories: sys-cluster/pcs/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 047edc4a90453a663c71cc93221021e300152efc X-VCS-Branch: master Date: Wed, 9 Dec 2020 14:14:31 +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: 5290eacb-4671-4e44-87b4-7a3559184376 X-Archives-Hash: a24e32002fe6951b3f3d9692df5eba03 commit: 047edc4a90453a663c71cc93221021e300152efc Author: Andrea Postiglione gmail com> AuthorDate: Tue Dec 8 16:51:44 2020 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Tue Dec 8 16:51:44 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=047edc4a sys-cluster/pcs: fix use systemd useflag Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Andrea Postiglione gmail.com> sys-cluster/pcs/pcs-0.10.7.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sys-cluster/pcs/pcs-0.10.7.ebuild b/sys-cluster/pcs/pcs-0.10.7.ebuild index 2811b60e..6e2acc6b 100644 --- a/sys-cluster/pcs/pcs-0.10.7.ebuild +++ b/sys-cluster/pcs/pcs-0.10.7.ebuild @@ -87,8 +87,10 @@ src_install() { dosym ../../sbin/pcs "${EPREFIX}/usr/lib/pcs/pcs" # use Debian style systemd unit (with config in /etc/default/pcsd) - systemd_newunit "${S}/pcsd/pcsd.service.debian" "pcsd.service" - systemd_newunit "${S}/pcsd/pcsd-ruby.service" "pcsd-daemon.service" + if use systemd ; then + systemd_newunit "${S}/pcsd/pcsd.service.debian" "pcsd.service" + systemd_newunit "${S}/pcsd/pcsd-ruby.service" "pcsd-daemon.service" + fi # custom service file for openRC newinitd "${FILESDIR}/pcsd.initd" pcsd || die newinitd "${FILESDIR}/pcsd-daemon.initd" pcsd-daemon || die