Added nrpe reload since moving from check_yum needs it

This commit is contained in:
Tomas Edwardsson 2013-07-16 22:24:47 +00:00
parent 677ec90e3e
commit 1099ad9c02
1 changed files with 3 additions and 0 deletions

View File

@ -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