This commit is contained in:
milisbir 2018-06-14 18:55:45 +02:00
parent 143b731147
commit 981a88b9b2
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ case "$1" in
install -v -dm700 /srv/pgsql/data
install -v -dm755 /run/postgresql
chown -Rv postgres:postgres /srv/pgsql /run/postgresql
su - postgres -c '/usr/bin/initdb -D /srv/pgsql/data'
su - postgres -c '/usr/bin/initdb -E UTF8 -D /srv/pgsql/data'
fi
su - postgres -c '/usr/bin/pg_ctl start -W -D /srv/pgsql/data \
-l /srv/pgsql/data/logfile -o "-i" '