summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-01-07 05:03:47 +0000
committerSam James <sam@gentoo.org>2022-01-07 05:04:03 +0000
commit087dbe4a60e74623378a185e50665d20ac5daf49 (patch)
tree0bd2ef873b16eb83f1064337b45e99a0245c6746 /sys-process
parentdev-db/sqldeveloper: removed old (diff)
downloadgentoo-087dbe4a60e74623378a185e50665d20ac5daf49.tar.gz
gentoo-087dbe4a60e74623378a185e50665d20ac5daf49.tar.bz2
gentoo-087dbe4a60e74623378a185e50665d20ac5daf49.zip
sys-process/atop: install init script for netatop
Already in FILESDIR but forgot to actually add it again in the ebuild (didn't test on the same machine as I committed it on). Closes: https://github.com/gentoo/gentoo/pull/23520 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-process')
-rw-r--r--sys-process/atop/atop-2.7.0-r1.ebuild (renamed from sys-process/atop/atop-2.7.0.ebuild)5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys-process/atop/atop-2.7.0.ebuild b/sys-process/atop/atop-2.7.0-r1.ebuild
index 224879742c4a..4e4a270b83e0 100644
--- a/sys-process/atop/atop-2.7.0.ebuild
+++ b/sys-process/atop/atop-2.7.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -85,8 +85,7 @@ src_install() {
systemd_dounit "${NETATOP_S}"/netatop.service
- # TODO: openrc init script
- #install -T -m 0755 netatop.init /etc/init.d/netatop
+ newinitd "${FILESDIR}"/netatop.rc netatop
fi
emake DESTDIR="${D}" genericinstall