1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/netdata_ynh.git synced 2024-09-03 19:46:33 +02:00

Rename postgresl config to "local" (same as MySQL)

This commit is contained in:
Jimmy Monin 2022-08-18 15:23:57 +02:00
parent ce6cf9208f
commit daddd5d692

View file

@ -90,7 +90,7 @@ netdata_add_yunohost_postgres_configuration () {
fi
if [ -f /etc/yunohost/psql ] && [ -z "$(grep "yunohost" $postgres_file)" ] ; then
cat >> $postgres_file <<EOF
- name: yunohost
- name: local
dsn: 'postgres://postgres:$(cat /etc/yunohost/psql)@localhost:5432/postgres'
EOF
fi