2022-09-20 15:14:05 +02:00
|
|
|
# Copyright 1999-2022 Gentoo Authors
|
2019-11-11 01:02:17 +01:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2022-09-20 15:14:05 +02:00
|
|
|
EAPI=8
|
|
|
|
|
2020-09-29 20:59:00 +02:00
|
|
|
inherit systemd
|
2019-11-11 01:02:17 +01:00
|
|
|
|
|
|
|
KEYWORDS="~amd64"
|
|
|
|
|
|
|
|
DESCRIPTION="CPU and memory monitoring for prometheus"
|
|
|
|
HOMEPAGE="https://gittr.ch/linux/gentoo-overlay"
|
|
|
|
LICENSE="GPL-2"
|
|
|
|
SLOT="0"
|
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
DEPEND="sys-process/procps"
|
|
|
|
|
|
|
|
S="${WORKDIR}"
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
dobin "${FILESDIR}/${PN}.sh"
|
|
|
|
systemd_dounit "${FILESDIR}/${PN}.service"
|
|
|
|
systemd_dounit "${FILESDIR}/${PN}.timer"
|
|
|
|
}
|