mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-12-22 22:41:19 +01:00
Merge pull request #105 from zabbix/master
Fixed PostgreSQL default root account
This commit is contained in:
commit
462b628ce3
@ -202,6 +202,9 @@ check_db_connect_postgresql() {
|
|||||||
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
||||||
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
||||||
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
||||||
|
else
|
||||||
|
DB_SERVER_ROOT_USER=${DB_SERVER_ZBX_USER}
|
||||||
|
DB_SERVER_ROOT_PASS=${DB_SERVER_ZBX_PASS}
|
||||||
fi
|
fi
|
||||||
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
||||||
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
||||||
|
@ -202,6 +202,9 @@ check_db_connect_postgresql() {
|
|||||||
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
||||||
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
||||||
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
||||||
|
else
|
||||||
|
DB_SERVER_ROOT_USER=${DB_SERVER_ZBX_USER}
|
||||||
|
DB_SERVER_ROOT_PASS=${DB_SERVER_ZBX_PASS}
|
||||||
fi
|
fi
|
||||||
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
||||||
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
||||||
|
@ -202,6 +202,9 @@ check_db_connect_postgresql() {
|
|||||||
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
||||||
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
||||||
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
||||||
|
else
|
||||||
|
DB_SERVER_ROOT_USER=${DB_SERVER_ZBX_USER}
|
||||||
|
DB_SERVER_ROOT_PASS=${DB_SERVER_ZBX_PASS}
|
||||||
fi
|
fi
|
||||||
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
||||||
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
||||||
|
@ -202,6 +202,9 @@ check_db_connect_postgresql() {
|
|||||||
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
||||||
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
||||||
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
||||||
|
else
|
||||||
|
DB_SERVER_ROOT_USER=${DB_SERVER_ZBX_USER}
|
||||||
|
DB_SERVER_ROOT_PASS=${DB_SERVER_ZBX_PASS}
|
||||||
fi
|
fi
|
||||||
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
||||||
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
||||||
|
@ -202,6 +202,9 @@ check_db_connect_postgresql() {
|
|||||||
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
||||||
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
||||||
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
||||||
|
else
|
||||||
|
DB_SERVER_ROOT_USER=${DB_SERVER_ZBX_USER}
|
||||||
|
DB_SERVER_ROOT_PASS=${DB_SERVER_ZBX_PASS}
|
||||||
fi
|
fi
|
||||||
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
||||||
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
||||||
|
@ -202,6 +202,9 @@ check_db_connect_postgresql() {
|
|||||||
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
||||||
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
||||||
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
||||||
|
else
|
||||||
|
DB_SERVER_ROOT_USER=${DB_SERVER_ZBX_USER}
|
||||||
|
DB_SERVER_ROOT_PASS=${DB_SERVER_ZBX_PASS}
|
||||||
fi
|
fi
|
||||||
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
||||||
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
||||||
|
@ -202,6 +202,9 @@ check_db_connect_postgresql() {
|
|||||||
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
||||||
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
||||||
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
||||||
|
else
|
||||||
|
DB_SERVER_ROOT_USER=${DB_SERVER_ZBX_USER}
|
||||||
|
DB_SERVER_ROOT_PASS=${DB_SERVER_ZBX_PASS}
|
||||||
fi
|
fi
|
||||||
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
||||||
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
||||||
|
@ -202,6 +202,9 @@ check_db_connect_postgresql() {
|
|||||||
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
||||||
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
||||||
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
||||||
|
else
|
||||||
|
DB_SERVER_ROOT_USER=${DB_SERVER_ZBX_USER}
|
||||||
|
DB_SERVER_ROOT_PASS=${DB_SERVER_ZBX_PASS}
|
||||||
fi
|
fi
|
||||||
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
||||||
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
||||||
|
@ -202,6 +202,9 @@ check_db_connect_postgresql() {
|
|||||||
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
||||||
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
||||||
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
||||||
|
else
|
||||||
|
DB_SERVER_ROOT_USER=${DB_SERVER_ZBX_USER}
|
||||||
|
DB_SERVER_ROOT_PASS=${DB_SERVER_ZBX_PASS}
|
||||||
fi
|
fi
|
||||||
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
||||||
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
||||||
|
@ -202,6 +202,9 @@ check_db_connect_postgresql() {
|
|||||||
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
||||||
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
||||||
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
||||||
|
else
|
||||||
|
DB_SERVER_ROOT_USER=${DB_SERVER_ZBX_USER}
|
||||||
|
DB_SERVER_ROOT_PASS=${DB_SERVER_ZBX_PASS}
|
||||||
fi
|
fi
|
||||||
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
||||||
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
||||||
|
@ -202,6 +202,9 @@ check_db_connect_postgresql() {
|
|||||||
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
||||||
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
||||||
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
||||||
|
else
|
||||||
|
DB_SERVER_ROOT_USER=${DB_SERVER_ZBX_USER}
|
||||||
|
DB_SERVER_ROOT_PASS=${DB_SERVER_ZBX_PASS}
|
||||||
fi
|
fi
|
||||||
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
||||||
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
||||||
|
@ -202,6 +202,9 @@ check_db_connect_postgresql() {
|
|||||||
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
||||||
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
||||||
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
||||||
|
else
|
||||||
|
DB_SERVER_ROOT_USER=${DB_SERVER_ZBX_USER}
|
||||||
|
DB_SERVER_ROOT_PASS=${DB_SERVER_ZBX_PASS}
|
||||||
fi
|
fi
|
||||||
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
||||||
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
||||||
|
@ -202,6 +202,9 @@ check_db_connect_postgresql() {
|
|||||||
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
||||||
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
||||||
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
||||||
|
else
|
||||||
|
DB_SERVER_ROOT_USER=${DB_SERVER_ZBX_USER}
|
||||||
|
DB_SERVER_ROOT_PASS=${DB_SERVER_ZBX_PASS}
|
||||||
fi
|
fi
|
||||||
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
||||||
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
||||||
|
@ -202,6 +202,9 @@ check_db_connect_postgresql() {
|
|||||||
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
||||||
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
||||||
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
||||||
|
else
|
||||||
|
DB_SERVER_ROOT_USER=${DB_SERVER_ZBX_USER}
|
||||||
|
DB_SERVER_ROOT_PASS=${DB_SERVER_ZBX_PASS}
|
||||||
fi
|
fi
|
||||||
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
||||||
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
||||||
|
@ -202,6 +202,9 @@ check_db_connect_postgresql() {
|
|||||||
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
||||||
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
||||||
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
||||||
|
else
|
||||||
|
DB_SERVER_ROOT_USER=${DB_SERVER_ZBX_USER}
|
||||||
|
DB_SERVER_ROOT_PASS=${DB_SERVER_ZBX_PASS}
|
||||||
fi
|
fi
|
||||||
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
||||||
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
||||||
|
@ -202,6 +202,9 @@ check_db_connect_postgresql() {
|
|||||||
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
||||||
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
||||||
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
||||||
|
else
|
||||||
|
DB_SERVER_ROOT_USER=${DB_SERVER_ZBX_USER}
|
||||||
|
DB_SERVER_ROOT_PASS=${DB_SERVER_ZBX_PASS}
|
||||||
fi
|
fi
|
||||||
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
||||||
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
||||||
|
@ -202,6 +202,9 @@ check_db_connect_postgresql() {
|
|||||||
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
||||||
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
||||||
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
||||||
|
else
|
||||||
|
DB_SERVER_ROOT_USER=${DB_SERVER_ZBX_USER}
|
||||||
|
DB_SERVER_ROOT_PASS=${DB_SERVER_ZBX_PASS}
|
||||||
fi
|
fi
|
||||||
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
||||||
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
||||||
|
@ -202,6 +202,9 @@ check_db_connect_postgresql() {
|
|||||||
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
||||||
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
||||||
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
||||||
|
else
|
||||||
|
DB_SERVER_ROOT_USER=${DB_SERVER_ZBX_USER}
|
||||||
|
DB_SERVER_ROOT_PASS=${DB_SERVER_ZBX_PASS}
|
||||||
fi
|
fi
|
||||||
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
||||||
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
||||||
|
@ -202,6 +202,9 @@ check_db_connect_postgresql() {
|
|||||||
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
||||||
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
||||||
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
||||||
|
else
|
||||||
|
DB_SERVER_ROOT_USER=${DB_SERVER_ZBX_USER}
|
||||||
|
DB_SERVER_ROOT_PASS=${DB_SERVER_ZBX_PASS}
|
||||||
fi
|
fi
|
||||||
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
||||||
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
||||||
|
@ -202,6 +202,9 @@ check_db_connect_postgresql() {
|
|||||||
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
if [ "${USE_DB_ROOT_USER}" == "true" ]; then
|
||||||
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
echo "* DB_SERVER_ROOT_USER: ${DB_SERVER_ROOT_USER}"
|
||||||
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
echo "* DB_SERVER_ROOT_PASS: ${DB_SERVER_ROOT_PASS}"
|
||||||
|
else
|
||||||
|
DB_SERVER_ROOT_USER=${DB_SERVER_ZBX_USER}
|
||||||
|
DB_SERVER_ROOT_PASS=${DB_SERVER_ZBX_PASS}
|
||||||
fi
|
fi
|
||||||
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
echo "* DB_SERVER_ZBX_USER: ${DB_SERVER_ZBX_USER}"
|
||||||
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
echo "* DB_SERVER_ZBX_PASS: ${DB_SERVER_ZBX_PASS}"
|
||||||
|
Loading…
Reference in New Issue
Block a user