commit: 58baba5b6e3dbecd271134e2fe719e41181b0d74
Author: Andrea Postiglione <andrea.postiglione <AT> gmail <DOT> com>
AuthorDate: Sun Dec 6 08:44:05 2020 +0000
Commit: Andrea Postiglione <andrea.postiglione <AT> gmail <DOT> com>
CommitDate: Sun Dec 6 08:44:05 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=58baba5b
sys-cluster/pcs-0.10.7: fix systemd unit service
Package-Manager: Portage-3.0.11, Repoman-3.0.2
Signed-off-by: Andrea Postiglione <andrea.postiglione <AT> gmail.com>
sys-cluster/pcs/pcs-0.10.7.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sys-cluster/pcs/pcs-0.10.7.ebuild
b/sys-cluster/pcs/pcs-0.10.7.ebuild
index b1a76287..76bcbee8 100644
--- a/sys-cluster/pcs/pcs-0.10.7.ebuild
+++ b/sys-cluster/pcs/pcs-0.10.7.ebuild
@@ -84,8 +84,8 @@ src_install() {
dosym /usr/sbin/pcs "${EPREFIX}/usr/lib/pcs/pcs"
# use Debian style systemd unit (with config in /etc/default/pcsd)
- cp -a "${S}/pcsd/pcsd.service.debian"
"${D}/usr/lib/systemd/system/pcsd.service"
- #cp -a "${S}/pcsd/pcsd-ruby.service.debian"
"${D}/usr/lib/systemd/system/pcsd.service"
+ systemd_newunit "${S}/pcsd/pcsd.service.debian" "pcsd.service"
+ systemd_newunit "${S}/pcsd/pcsd-ruby.service" "pcsd-daemon.service"
# custom service file for openRC
newinitd "${FILESDIR}/pcsd.initd" pcsd || die
newinitd "${FILESDIR}/pcsd-daemon.initd" pcsd-daemon || die