postgresql
This commit is contained in:
parent
8cdafd29af
commit
fc3ebd9d9c
|
@ -26,6 +26,8 @@ case "$1" in
|
|||
chown -Rv postgres:postgres /srv/pgsql /run/postgresql
|
||||
su - postgres -c '/usr/bin/initdb -E UTF8 -D /srv/pgsql/data'
|
||||
fi
|
||||
mkdir -p /run/postgresql
|
||||
chown -Rv postgres:postgres /run/postgresql
|
||||
su - postgres -c '/usr/bin/pg_ctl start -W -D /srv/pgsql/data \
|
||||
-l /srv/pgsql/data/logfile -o "-i" '
|
||||
evaluate_retval
|
||||
|
|
Loading…
Reference in New Issue