|
|
@ -773,6 +773,7 @@ getent passwd zabbix > /dev/null || \ |
|
|
|
: |
|
|
|
: |
|
|
|
%endif |
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?rhel} >= 6 |
|
|
|
%if 0%{?rhel} >= 7 |
|
|
|
%if 0%{?rhel} >= 7 |
|
|
|
%pre java-gateway |
|
|
|
%pre java-gateway |
|
|
|
getent group zabbix > /dev/null || groupadd -r zabbix |
|
|
|
getent group zabbix > /dev/null || groupadd -r zabbix |
|
|
@ -782,7 +783,6 @@ getent passwd zabbix > /dev/null || \ |
|
|
|
: |
|
|
|
: |
|
|
|
%endif |
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%pre proxy-mysql |
|
|
|
%pre proxy-mysql |
|
|
|
getent group zabbix > /dev/null || groupadd -r zabbix |
|
|
|
getent group zabbix > /dev/null || groupadd -r zabbix |
|
|
|
getent passwd zabbix > /dev/null || \ |
|
|
|
getent passwd zabbix > /dev/null || \ |
|
|
@ -841,6 +841,7 @@ getent passwd zabbix > /dev/null || \ |
|
|
|
/usr/sbin/update-alternatives --install %{_sbindir}/zabbix_proxy \ |
|
|
|
/usr/sbin/update-alternatives --install %{_sbindir}/zabbix_proxy \ |
|
|
|
zabbix-proxy %{_sbindir}/zabbix_proxy_sqlite3 10 |
|
|
|
zabbix-proxy %{_sbindir}/zabbix_proxy_sqlite3 10 |
|
|
|
: |
|
|
|
: |
|
|
|
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?rhel} >= 7 |
|
|
|
%if 0%{?rhel} >= 7 |
|
|
|
%post server-mysql |
|
|
|
%post server-mysql |
|
|
|