Fix database init script

This commit is contained in:
Charlotte Van Petegem 2022-06-04 15:52:06 +02:00
parent 535f3db618
commit 94f15d5a6f
No known key found for this signature in database
GPG key ID: 019E764B7184435A

View file

@ -165,7 +165,7 @@
category = "database";
help = "Start postgres instance";
command = ''
[ ! -d $PGDATA ] && setup-db
[ ! -d $PGDATA ] && pg:setup
pg_ctl -D $PGDATA -U postgres start -l log/postgres.log
'';
}