gentoo-overlay/app-metrics/prometheus-cpu-mem-monitor/prometheus-cpu-mem-monitor-0.0.0.1-r2.ebuild
Manuel Friedli 9eb79d94db
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
Fix pkgcheck style issues.
Signed-off-by: Manuel Friedli <manuel@fritteli.ch>
2024-06-12 00:56:18 +02:00

23 lines
458 B
Bash

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit systemd
DESCRIPTION="CPU and memory monitoring for prometheus"
HOMEPAGE="https://gittr.ch/linux/gentoo-overlay"
S="${WORKDIR}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="sys-process/procps"
src_install() {
dobin "${FILESDIR}/${PN}.sh"
systemd_dounit "${FILESDIR}/${PN}.service"
systemd_dounit "${FILESDIR}/${PN}.timer"
}