aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Zavertkin <misha.zavertkin@mail.ru>2024-10-30 23:36:33 +0700
committerMichael Zavertkin <misha.zavertkin@mail.ru>2024-10-30 23:39:29 +0700
commit79a4aa190a9841b1658d480bd95e6974e664de66 (patch)
tree2027d371737805ee21761cbd17b2409c27fdd6ee /net-proxy
parentnet-p2p/monero-gui-bin: Add missing dependencies (diff)
downloadguru-79a4aa190a9841b1658d480bd95e6974e664de66.tar.gz
guru-79a4aa190a9841b1658d480bd95e6974e664de66.tar.bz2
guru-79a4aa190a9841b1658d480bd95e6974e664de66.zip
net-proxy/byedpi: use shipped .service
Signed-off-by: Michael Zavertkin <misha.zavertkin@mail.ru>
Diffstat (limited to 'net-proxy')
-rw-r--r--net-proxy/byedpi/byedpi-0.15.ebuild5
-rw-r--r--net-proxy/byedpi/byedpi-9999.ebuild7
2 files changed, 8 insertions, 4 deletions
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"
}