gentoo-overlay/app-metrics/prometheus-cpu-mem-monitor/prometheus-cpu-mem-monitor-0.0.0.1-r1.ebuild
Manuel Friedli 18c109d414
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
app-metrics/prometheus-cpu-mem-monitor: GLEP 81 compatible
Package-Manager: Portage-3.0.4, Repoman-3.0.1
2020-09-29 20:59:00 +02:00

24 lines
465 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit systemd
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"
}