aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Dessaux2021-07-24 10:16:57 +0200
committerJulien Dessaux2021-07-24 10:17:16 +0200
commit4d1b31a23e054738a1bc9ce235c038c816d45a3d (patch)
treea84724820ed926be33d247a05a10dde835ee3517
parentTweaked gentoo steam article for some games (diff)
downloadwww-4d1b31a23e054738a1bc9ce235c038c816d45a3d.tar.gz
www-4d1b31a23e054738a1bc9ce235c038c816d45a3d.tar.bz2
www-4d1b31a23e054738a1bc9ce235c038c816d45a3d.zip
Updated freebsd postgresql article
Diffstat (limited to '')
-rw-r--r--content/docs/freebsd/postgresql.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/docs/freebsd/postgresql.md b/content/docs/freebsd/postgresql.md
index c2797c2..515b5ac 100644
--- a/content/docs/freebsd/postgresql.md
+++ b/content/docs/freebsd/postgresql.md
@@ -58,7 +58,7 @@ Let's say we want to allow a gitea jail running from 10.0.0.4 to a gitea databas
```
echo "CREATE ROLE gitea WITH LOGIN PASSWORD 'secret';
CREATE DATABASE gitea WITH OWNER gitea TEMPLATE template0 ENCODING UTF8 LC_COLLATE 'en_US.UTF-8' LC_CTYPE 'en_US.UTF-8';" \
- | bastille cmd postgresql su - postgres -c psql
+ | bastille cmd postgresql psql -U postgres
echo "host gitea gitea 10.0.0.4/32 scram-sha-256"
| bastille cmd postgresql tee -a /var/db/postgres/data13/pg_hba.conf
bastille service postgresql postgresql reload