add missing <<EOF in the installation process

License MIT
This commit is contained in:
Loïc Dachary 2021-06-18 16:55:34 +02:00
parent 3100023469
commit 19931008b5
No known key found for this signature in database
GPG Key ID: 130A0B53C3EEB5FA
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ Installation
$ apt install apg
$ PASSWORD=$(apg -n 1 -M NCL -m 20)
$ apt install postgresql
$ su - postgres -c psql
$ su - postgres -c psql <<EOF
CREATE ROLE authentic2 WITH LOGIN SUPERUSER PASSWORD '$PASSWORD';
ALTER ROLE authentic2 SET client_encoding TO 'utf8';
CREATE DATABASE authentic2;