From d76b7ebfd2e09b751bdd61531caa52285f20a2f7 Mon Sep 17 00:00:00 2001 From: Thorsten Spille Date: Thu, 16 May 2024 12:07:43 +0200 Subject: [PATCH] Fix db schema import --- src/zabbix-proxy/install-service.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zabbix-proxy/install-service.sh b/src/zabbix-proxy/install-service.sh index 0fa0fc0..08c6007 100644 --- a/src/zabbix-proxy/install-service.sh +++ b/src/zabbix-proxy/install-service.sh @@ -29,7 +29,7 @@ psql -c "CREATE DATABASE ${ZABBIX_DB_NAME} ENCODING UTF8 TEMPLATE template0 OWNE echo "Postgres User ${ZABBIX_DB_USR} and database ${ZABBIX_DB_NAME} created." EOF -zcat /usr/share/zabbix-sql-scripts/postgresql/proxy.sql.gz | sudo -u zabbix psql ${ZABBIX_DB_NAME} +cat /usr/share/zabbix-sql-scripts/postgresql/proxy.sql | sudo -u zabbix psql ${ZABBIX_DB_NAME} echo "DBPassword=${ZABBIX_DB_PWD}" >> /etc/zabbix/zabbix_server.conf