Fix uci-defaults for PostgreSQL backends Add user 'gnunet' to 'postgres' group Always build with sqlite3 as configure fails when --without-sqlite Signed-off-by: Daniel Golle <daniel@makrotopia.org>
10 lines
294 B
Bash
10 lines
294 B
Bash
#!/bin/sh
|
|
|
|
uci -q get gnunet.datastore || uci set gnunet.datastore=gnunet-config
|
|
|
|
uci -q batch <<EOF
|
|
set gnunet.datastore.DATABASE=postgres
|
|
set gnunet.datastore_postgres=gnunet-config
|
|
set gnunet.datastore_postgres.CONFIG=postgres://gnunet@%2Ftmp%2Frun%2Fpostgresql/gnunet
|
|
commit gnunet
|
|
EOF
|