summaryrefslogtreecommitdiff
path: root/net-misc/sslh/sslh-2.1.2.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/sslh/sslh-2.1.2.ebuild')
-rw-r--r--net-misc/sslh/sslh-2.1.2.ebuild3
1 files changed, 1 insertions, 2 deletions
diff --git a/net-misc/sslh/sslh-2.1.2.ebuild b/net-misc/sslh/sslh-2.1.2.ebuild
index 1a3dc9b9f8e3..efb4eb40c48d 100644
--- a/net-misc/sslh/sslh-2.1.2.ebuild
+++ b/net-misc/sslh/sslh-2.1.2.ebuild
@@ -76,8 +76,7 @@ src_install() {
if use systemd; then
# Gentoo puts the binaries in /usr/sbin, but upstream puts them in /usr/bin
- sed -i -e 's~/usr/bin/~/usr/sbin/~g' scripts/systemd.sslh.service || die
- systemd_newunit scripts/systemd.sslh.service sslh.service
+ systemd_newunit "${FILESDIR}/sslh.service" sslh.service
exeinto /usr/lib/systemd/system-generators/
doexe systemd-sslh-generator
fi