From 79a4aa190a9841b1658d480bd95e6974e664de66 Mon Sep 17 00:00:00 2001 From: Michael Zavertkin Date: Wed, 30 Oct 2024 23:36:33 +0700 Subject: net-proxy/byedpi: use shipped .service Signed-off-by: Michael Zavertkin --- net-proxy/byedpi/byedpi-0.15.ebuild | 5 ++++- net-proxy/byedpi/byedpi-9999.ebuild | 7 ++++--- 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'net-proxy') diff --git a/net-proxy/byedpi/byedpi-0.15.ebuild b/net-proxy/byedpi/byedpi-0.15.ebuild index 5c706bdf4..14668c55c 100644 --- a/net-proxy/byedpi/byedpi-0.15.ebuild +++ b/net-proxy/byedpi/byedpi-0.15.ebuild @@ -30,5 +30,8 @@ src_install() { newinitd "${FILESDIR}"/byedpi.initd byedpi newconfd "${FILESDIR}"/byedpi.confd byedpi - systemd_dounit "${FILESDIR}/${PN}.service" + systemd_dounit "dist/linux/${PN}.service" + + insinto /etc + newins "dist/linux/${PN}.conf" "${PN}.conf" } diff --git a/net-proxy/byedpi/byedpi-9999.ebuild b/net-proxy/byedpi/byedpi-9999.ebuild index 31a7b0aa5..a6a5b9045 100644 --- a/net-proxy/byedpi/byedpi-9999.ebuild +++ b/net-proxy/byedpi/byedpi-9999.ebuild @@ -31,7 +31,8 @@ src_install() { newinitd "${FILESDIR}"/byedpi.initd byedpi newconfd "${FILESDIR}"/byedpi.confd byedpi -# Replace distributed service file with working one -# systemd_dounit dist/linux/byedpi.service - systemd_dounit "${FILESDIR}/${PN}.service" + systemd_dounit "dist/linux/${PN}.service" + + insinto /etc + newins "dist/linux/${PN}.conf" "${PN}.conf" } -- cgit v1.2.3-65-gdbad