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