mirror of https://github.com/Icinga/icinga2.git
Update permissions in the spec file.
This commit is contained in:
parent
77dfa05d29
commit
d827d470e8
|
@ -9,14 +9,14 @@ The recommended way of installing these standard plugins is to use your
|
|||
distribution's package manager. For your convenience here is a list of package
|
||||
names for some of the more popular operating systems/distributions:
|
||||
|
||||
OS/Distribution | Package Name | Installation Path
|
||||
----------------|----------------|---------------------------
|
||||
RHEL/CentOS | nagios-plugins | /usr/lib/nagios/plugins
|
||||
Debian | nagios-plugins | /usr/lib/nagios/plugins
|
||||
FreeBSD | nagios-plugins | /usr/local/libexec/nagios
|
||||
OS X (MacPorts) | nagios-plugins | /opt/local/libexec
|
||||
OS/Distribution | Package Name | Installation Path
|
||||
-----------------------|--------------------|---------------------------
|
||||
RHEL/CentOS (EPEL) | nagios-plugins-all | /usr/lib/nagios/plugins or /usr/lib64/nagios/plugins
|
||||
Debian | nagios-plugins | /usr/lib/nagios/plugins
|
||||
FreeBSD | nagios-plugins | /usr/local/libexec/nagios
|
||||
OS X (MacPorts) | nagios-plugins | /opt/local/libexec
|
||||
|
||||
Depending on which directory your plugins are installed into you may need to
|
||||
update the `plugindir` macro in your Icinga 2 configuration. This macro is used
|
||||
by the service templates contained in the Icinga Template Library to determine
|
||||
where to find the plugin binaries.
|
||||
where to find the plugin binaries.
|
||||
|
|
|
@ -200,11 +200,11 @@ fi
|
|||
%exclude %{_datadir}/%{name}/itl
|
||||
%{_mandir}/man8/%{name}.8.gz
|
||||
|
||||
%attr(0750,%{icinga_user},%{icinga_group}) %{_localstatedir}/cache/%{name}
|
||||
%attr(0750,%{icinga_user},%{icinga_group}) %dir %{_localstatedir}/log/%{name}
|
||||
%attr(0750,%{icinga_user},%{icinga_group}) %dir %{_localstatedir}/log/%{name}/compat
|
||||
%attr(0750,%{icinga_user},%{icinga_group}) %dir %{_localstatedir}/log/%{name}/compat/archives
|
||||
%attr(0750,%{icinga_user},%{icinga_group}) %{_localstatedir}/run/%{name}
|
||||
%attr(0751,%{icinga_user},%{icinga_group}) %{_localstatedir}/cache/%{name}
|
||||
%attr(0751,%{icinga_user},%{icinga_group}) %dir %{_localstatedir}/log/%{name}
|
||||
%attr(0751,%{icinga_user},%{icinga_group}) %dir %{_localstatedir}/log/%{name}/compat
|
||||
%attr(0751,%{icinga_user},%{icinga_group}) %dir %{_localstatedir}/log/%{name}/compat/archives
|
||||
%attr(0751,%{icinga_user},%{icinga_group}) %{_localstatedir}/run/%{name}
|
||||
%attr(0750,%{icinga_user},%{icinga_group}) %{_localstatedir}/lib/%{name}
|
||||
|
||||
%attr(2755,%{icinga_user},%{icingacmd_group}) %{_localstatedir}/run/icinga2/cmd
|
||||
|
|
Loading…
Reference in New Issue