mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 21:13:27 -04:00
sys-cluster/pcs: fix use systemd useflag
Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Andrea Postiglione <andrea.postiglione@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user