summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2023-04-23 02:25:26 +0200
committerConrad Kostecki <conikost@gentoo.org>2023-04-23 02:26:02 +0200
commite927f0da62c3ff9592733a07952604dfce972641 (patch)
tree604f868dd0de4997d3bfa6d0d1f36edad27839b6 /net-misc/ethflop
parentnet-misc/etherdfs: update systemd unit (diff)
downloadgentoo-e927f0da62c3ff9592733a07952604dfce972641.tar.gz
gentoo-e927f0da62c3ff9592733a07952604dfce972641.tar.bz2
gentoo-e927f0da62c3ff9592733a07952604dfce972641.zip
net-misc/ethflop: update systemd unit
Closes: https://bugs.gentoo.org/891617 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'net-misc/ethflop')
-rw-r--r--net-misc/ethflop/ethflop-20191003-r2.ebuild (renamed from net-misc/ethflop/ethflop-20191003-r1.ebuild)4
-rw-r--r--net-misc/ethflop/files/ethflopd.service-r1 (renamed from net-misc/ethflop/files/ethflopd.service)2
2 files changed, 3 insertions, 3 deletions
diff --git a/net-misc/ethflop/ethflop-20191003-r1.ebuild b/net-misc/ethflop/ethflop-20191003-r2.ebuild
index 4c959d92f65d..51efe0cd19d7 100644
--- a/net-misc/ethflop/ethflop-20191003-r1.ebuild
+++ b/net-misc/ethflop/ethflop-20191003-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2019-2022 Gentoo Authors
+# Copyright 2019-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -39,7 +39,7 @@ src_install() {
newinitd "${FILESDIR}"/ethflopd.initd ethflopd
newconfd "${FILESDIR}"/ethflopd.confd ethflopd
- systemd_dounit "${FILESDIR}"/ethflopd.service
+ systemd_newunit "${FILESDIR}"/ethflopd.service-r1 ethflopd.service
dodoc ethflop.txt
}
diff --git a/net-misc/ethflop/files/ethflopd.service b/net-misc/ethflop/files/ethflopd.service-r1
index 2b6c31902ec6..39fa29a52171 100644
--- a/net-misc/ethflop/files/ethflopd.service
+++ b/net-misc/ethflop/files/ethflopd.service-r1
@@ -4,7 +4,7 @@ After=network-online.target
[Service]
EnvironmentFile=/etc/conf.d/ethflopd
-ExecStart=/usr/bin/ethflopd ${INTERFACE} ${STORAGEDIR}
+ExecStart=/usr/bin/ethflopd lo /tmp
[Install]
WantedBy=multi-user.target