mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2024-11-05 10:03:45 +01:00
Removed unneeded directory for state
This commit is contained in:
parent
5593391a3b
commit
735b2795d8
@ -24,7 +24,6 @@ Check cpu states on line machines
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
mkdir -p %{buildroot}%{_sharedstatedir}/nagios-okplugin/%{name}
|
|
||||||
install -D -p -m 0755 okplugin_check_cpu %{buildroot}%{_libdir}/nagios/plugins/okplugin_check_cpu
|
install -D -p -m 0755 okplugin_check_cpu %{buildroot}%{_libdir}/nagios/plugins/okplugin_check_cpu
|
||||||
install -D -p -m 0755 nrpe.d/okplugin_check_cpu.cfg %{buildroot}/etc/nrpe.d/okplugin_check_cpu.cfg
|
install -D -p -m 0755 nrpe.d/okplugin_check_cpu.cfg %{buildroot}/etc/nrpe.d/okplugin_check_cpu.cfg
|
||||||
|
|
||||||
@ -37,7 +36,6 @@ rm -rf %{buildroot}
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%dir %attr(0770, nrpe, nrpe) %{_sharedstatedir}/nagios-okplugin/%{name}
|
|
||||||
%{_libdir}/nagios/plugins/*
|
%{_libdir}/nagios/plugins/*
|
||||||
%{_sysconfdir}/nrpe.d/*
|
%{_sysconfdir}/nrpe.d/*
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user