aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Postiglione <andrea.postiglione@gmail.com>2021-04-11 16:37:46 +0200
committerAndrea Postiglione <andrea.postiglione@gmail.com>2021-04-11 16:37:46 +0200
commita871da89ee98d16ac19adc7b9839838dc3031ca6 (patch)
treeefd41979b37e3be26adbf10aebedaaaad4861f69 /sys-cluster
parentsys-cluster/pcs-0.10.8-r2 fix systemd service (diff)
downloadguru-a871da89ee98d16ac19adc7b9839838dc3031ca6.tar.gz
guru-a871da89ee98d16ac19adc7b9839838dc3031ca6.tar.bz2
guru-a871da89ee98d16ac19adc7b9839838dc3031ca6.zip
sys-cluster/pcs-0.10.8-r2: remove bundled systemd service
Signed-off-by: Andrea Postiglione <andrea.postiglione@gmail.com>
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/pcs/pcs-0.10.8-r2.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys-cluster/pcs/pcs-0.10.8-r2.ebuild b/sys-cluster/pcs/pcs-0.10.8-r2.ebuild
index 1444be359..4582a8e1e 100644
--- a/sys-cluster/pcs/pcs-0.10.8-r2.ebuild
+++ b/sys-cluster/pcs/pcs-0.10.8-r2.ebuild
@@ -100,9 +100,11 @@ src_install() {
if use systemd ; then
systemd_newunit "${S}/pcsd/pcsd.service.debian" "pcsd.service"
systemd_newunit "${S}/pcsd/pcsd-ruby.service" "pcsd-daemon.service"
- rm "${D}"/usr/lib/systemd/system/pcsd-ruby.service
- rm "${D}"/usr/lib/systemd/system/pcsd.service
fi
+ # Remove Bundled systemd service
+ rm "${D}"/usr/lib/systemd/system/pcsd-ruby.service || die
+ rm "${D}"/usr/lib/systemd/system/pcsd.service || die
+
# custom service file for openRC
newinitd "${FILESDIR}/pcsd.initd" pcsd
newinitd "${FILESDIR}/pcsd-daemon.initd" pcsd-daemon