postgres
This commit is contained in:
parent
143b731147
commit
981a88b9b2
|
@ -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" '
|
||||
|
|
Loading…
Reference in New Issue