commit:     fe956287204e2d3318732b681e6213b3243289d4
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 23 00:24:12 2023 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Apr 23 00:26:01 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe956287

net-misc/etherdfs: update systemd unit

Closes: https://bugs.gentoo.org/891615
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 .../{etherdfs-20180203-r3.ebuild => etherdfs-20180203-r4.ebuild}        | 2 +-
 net-misc/etherdfs/files/{etherdfs.service => etherdfs.service-r1}       | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-misc/etherdfs/etherdfs-20180203-r3.ebuild 
b/net-misc/etherdfs/etherdfs-20180203-r4.ebuild
similarity index 94%
rename from net-misc/etherdfs/etherdfs-20180203-r3.ebuild
rename to net-misc/etherdfs/etherdfs-20180203-r4.ebuild
index 9a2e486674b4..9a85cc57a896 100644
--- a/net-misc/etherdfs/etherdfs-20180203-r3.ebuild
+++ b/net-misc/etherdfs/etherdfs-20180203-r4.ebuild
@@ -57,7 +57,7 @@ src_install() {
 
        newinitd "${FILESDIR}"/etherdfs.initd etherdfs
        newconfd "${FILESDIR}"/etherdfs.confd etherdfs
-       systemd_dounit "${FILESDIR}"/etherdfs.service
+       systemd_newunit "${FILESDIR}"/etherdfs.service-r1 etherdfs.service
 
        einstalldocs
 }

diff --git a/net-misc/etherdfs/files/etherdfs.service 
b/net-misc/etherdfs/files/etherdfs.service-r1
similarity index 70%
rename from net-misc/etherdfs/files/etherdfs.service
rename to net-misc/etherdfs/files/etherdfs.service-r1
index d5a6ed474a6a..ed56b2dfbdab 100644
--- a/net-misc/etherdfs/files/etherdfs.service
+++ b/net-misc/etherdfs/files/etherdfs.service-r1
@@ -4,7 +4,7 @@ After=network-online.target
 
 [Service]
 EnvironmentFile=/etc/conf.d/etherdfs
-ExecStart=/usr/bin/ethersrv-linux ${INTERFACE} ${STORAGEDIR}
+ExecStart=/usr/bin/ethersrv-linux lo /tmp
 
 [Install]
 WantedBy=multi-user.target

Reply via email to