Remove not exist admin credentials from output

This commit is contained in:
CanbiZ 2025-09-23 13:22:33 +02:00 committed by GitHub
parent f819188a5e
commit a516fff186
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -81,8 +81,6 @@ $STD sudo -u postgres psql -c "ALTER ROLE $DB_USER SET timezone TO 'UTC'"
echo "Zabbix Database User: $DB_USER"
echo "Zabbix Database Password: $DB_PASS"
echo "Zabbix Database Name: $DB_NAME"
echo "Zabbix Admin Email: $ADMIN_EMAIL"
echo "Zabbix Admin Password: $ADMIN_PASSWORD"
} >>~/zabbix.creds
zcat /usr/share/zabbix/sql-scripts/postgresql/server.sql.gz | sudo -u $DB_USER psql $DB_NAME &>/dev/null