commit: e927f0da62c3ff9592733a07952604dfce972641 Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> AuthorDate: Sun Apr 23 00:25:26 2023 +0000 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> CommitDate: Sun Apr 23 00:26:02 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e927f0da
net-misc/ethflop: update systemd unit Closes: https://bugs.gentoo.org/891617 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> .../{ethflop-20191003-r1.ebuild => ethflop-20191003-r2.ebuild} | 4 ++-- net-misc/ethflop/files/{ethflopd.service => ethflopd.service-r1} | 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 similarity index 87% rename from net-misc/ethflop/ethflop-20191003-r1.ebuild rename to 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 similarity index 73% rename from net-misc/ethflop/files/ethflopd.service rename to 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