commit:     ff8b8d98148eb80e04011adc3ba1c757ee4f0c97
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 16 12:41:10 2017 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Sun Jul 16 12:41:10 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff8b8d98

net-analyzer/nrpe: new revision to fix the systemd service.

The systemd unit file we were shipping no longer works with
nrpe-3.x. Fortunately, upstream has their own service file which will
work for us. We now use upstream's copy instead. Thanks to Nemunaire
for the report, fix, and testing.

Gentoo-Bug: 620020

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 net-analyzer/nrpe/{nrpe-3.2.0.ebuild => nrpe-3.2.0-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/nrpe/nrpe-3.2.0.ebuild 
b/net-analyzer/nrpe/nrpe-3.2.0-r1.ebuild
similarity index 96%
rename from net-analyzer/nrpe/nrpe-3.2.0.ebuild
rename to net-analyzer/nrpe/nrpe-3.2.0-r1.ebuild
index 47ab35e74b4..08d233c3de6 100644
--- a/net-analyzer/nrpe/nrpe-3.2.0.ebuild
+++ b/net-analyzer/nrpe/nrpe-3.2.0-r1.ebuild
@@ -49,7 +49,7 @@ src_install() {
        fperms 0640 /etc/nagios/nrpe.cfg
 
        newinitd "${FILESDIR}/nrpe-${PV}.init" nrpe
-       systemd_dounit "${FILESDIR}/${PN}.service"
+       systemd_newunit "startup/default-service" "${PN}.service"
 
        insinto /etc/xinetd.d/
        newins "${FILESDIR}/nrpe.xinetd.2" nrpe

Reply via email to