Fix database init script
This commit is contained in:
parent
535f3db618
commit
94f15d5a6f
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@
|
||||||
category = "database";
|
category = "database";
|
||||||
help = "Start postgres instance";
|
help = "Start postgres instance";
|
||||||
command = ''
|
command = ''
|
||||||
[ ! -d $PGDATA ] && setup-db
|
[ ! -d $PGDATA ] && pg:setup
|
||||||
pg_ctl -D $PGDATA -U postgres start -l log/postgres.log
|
pg_ctl -D $PGDATA -U postgres start -l log/postgres.log
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue