mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
We should tell initdb which user we want as DBA
This commit is contained in:
parent
47c69d6f76
commit
fbf49155b1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=422551
@ -2,7 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
DISTVERSION?= 9.6rc1
|
||||
PORTREVISION?= 2
|
||||
PORTREVISION?= 3
|
||||
|
||||
MAINTAINER?= pgsql@FreeBSD.org
|
||||
|
||||
|
@ -108,7 +108,7 @@ postgresql_command()
|
||||
|
||||
postgresql_initdb()
|
||||
{
|
||||
su -l -c ${postgresql_class} ${postgresql_user} -c "exec %%PREFIX%%/bin/initdb ${postgresql_initdb_flags} -D ${postgresql_data}"
|
||||
su -l -c ${postgresql_class} ${postgresql_user} -c "exec %%PREFIX%%/bin/initdb ${postgresql_initdb_flags} -D ${postgresql_data} -U ${postgresql_user}"
|
||||
}
|
||||
|
||||
run_rc_command "$1"
|
||||
|
Loading…
Reference in New Issue
Block a user