pgsql
This commit is contained in:
parent
bd074aa28a
commit
389217111b
|
@ -33,8 +33,11 @@
|
|||
case "$1" in
|
||||
start)
|
||||
log_info_msg "Starting PostgreSQL daemon..."
|
||||
|
||||
[ ! -d /srv/pgsql/data ] && install -dm755 -o postgres -g postgres /srv/pgsql/data
|
||||
|
||||
install -dm755 -o postgres -g postgres /run/postgresql
|
||||
|
||||
|
||||
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