sys-block/nbd: install systemd service unit

Signed-off-by: Mike Gilbert <floppym@gentoo.org>
This commit is contained in:
Mike Gilbert
2021-04-03 10:36:24 -04:00
parent 8ca3717546
commit 90a0342e7b
2 changed files with 15 additions and 1 deletions

View File

@@ -3,6 +3,8 @@
EAPI=7
inherit systemd
DESCRIPTION="Userland client/server for kernel network block device"
HOMEPAGE="http://nbd.sourceforge.net/"
if [[ "${PV}" = 9999 ]] ; then
@@ -58,3 +60,8 @@ src_configure() {
)
econf "${myeconfargs[@]}"
}
src_install() {
default
systemd_dounit systemd/nbd@.service
}

View File

@@ -1,8 +1,10 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit systemd
DESCRIPTION="Userland client/server for kernel network block device"
HOMEPAGE="http://nbd.sourceforge.net/"
if [[ "${PV}" = 9999 ]] ; then
@@ -58,3 +60,8 @@ src_configure() {
)
econf "${myeconfargs[@]}"
}
src_install() {
default
systemd_dounit systemd/nbd@.service
}