From 1099ad9c02f4c84214c7b78bf42035420e991618 Mon Sep 17 00:00:00 2001 From: Tomas Edwardsson Date: Tue, 16 Jul 2013 22:24:47 +0000 Subject: [PATCH] Added nrpe reload since moving from check_yum needs it --- .../nagios-okplugin-check_package_updates.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/check_package_updates/nagios-okplugin-check_package_updates.spec b/check_package_updates/nagios-okplugin-check_package_updates.spec index 63c2fb0..98f2af4 100644 --- a/check_package_updates/nagios-okplugin-check_package_updates.spec +++ b/check_package_updates/nagios-okplugin-check_package_updates.spec @@ -37,6 +37,9 @@ sed "s^/usr/lib64^%{_libdir}^g" nrpe.d/%{plugin}.cfg > %{buildroot}%{_sysconfdi %clean rm -rf %{buildroot} +%post +/sbin/service nrpe status &> /dev/null && /sbin/service nrpe reload || : + %files %defattr(-,root,root,-) %doc README.md