From 43813c19994f6d23d7c4db9225978a2a4a177e46 Mon Sep 17 00:00:00 2001 From: Tomas Edwardsson Date: Thu, 14 Mar 2013 17:47:11 +0000 Subject: [PATCH] Added nrpe reload to post section --- check_cpu.sh/nagios-plugins-check_cpu.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/check_cpu.sh/nagios-plugins-check_cpu.spec b/check_cpu.sh/nagios-plugins-check_cpu.spec index 310f92b..659f577 100644 --- a/check_cpu.sh/nagios-plugins-check_cpu.spec +++ b/check_cpu.sh/nagios-plugins-check_cpu.spec @@ -34,6 +34,9 @@ install -D -p -m 0755 nrpe.d/check_cpu.cfg %{buildroot}/etc/nrpe.d/check_cpu.cfg %clean rm -rf %{buildroot} +%post +/sbin/service nrpe reload + %files %defattr(-,root,root,-) #%doc README LICENSE