File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ $STD sudo -u postgres psql -c "CREATE DATABASE $DB_NAME WITH OWNER $DB_USER ENCO
3939$STD sudo -u postgres psql -c " ALTER ROLE $DB_USER SET client_encoding TO 'utf8';"
4040$STD sudo -u postgres psql -c " ALTER ROLE $DB_USER SET default_transaction_isolation TO 'read committed';"
4141$STD sudo -u postgres psql -c " ALTER ROLE $DB_USER SET timezone TO 'UTC'"
42- zcat /usr/share/zabbix- sql-scripts/postgresql/server.sql.gz | sudo -u $DB_USER psql $DB_NAME & > /dev/null
42+ zcat /usr/share/zabbix/ sql-scripts/postgresql/server.sql.gz | sudo -u $DB_USER psql $DB_NAME & > /dev/null
4343sed -i " s/^DBName=.*/DBName=$DB_NAME /" /etc/zabbix/zabbix_server.conf
4444sed -i " s/^DBUser=.*/DBUser=$DB_USER /" /etc/zabbix/zabbix_server.conf
4545sed -i " s/^# DBPassword=.*/DBPassword=$DB_PASS /" /etc/zabbix/zabbix_server.conf
You can’t perform that action at this time.
0 commit comments