Skip to content

Commit cdb75ed

Browse files
author
Gabriel Monroy
committed
fix(database): reset permissions before initdb
1 parent d5f922a commit cdb75ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

database/bin/boot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ done
5151
# initialize database if one doesn't already exist
5252
# for example, in the case of a data container
5353
if [[ ! -d /var/lib/postgresql/9.3/main ]]; then
54-
sudo -u postgres /usr/lib/postgresql/9.3/bin/initdb -D /var/lib/postgresql/9.3/main --locale=en_US.UTF-8
5554
chown -R postgres:postgres /var/lib/postgresql
55+
sudo -u postgres /usr/lib/postgresql/9.3/bin/initdb -D /var/lib/postgresql/9.3/main
5656
fi
5757

5858
# ensure WAL log bucket exists

0 commit comments

Comments
 (0)