Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Sep 2016 09:02:59 +0000 (UTC)
From:      Palle Girgensohn <girgen@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r422551 - in head/databases/postgresql96-server: . files
Message-ID:  <201609210902.u8L92xp8066868@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: girgen
Date: Wed Sep 21 09:02:59 2016
New Revision: 422551
URL: https://svnweb.freebsd.org/changeset/ports/422551

Log:
  We should tell initdb which user we want as DBA

Modified:
  head/databases/postgresql96-server/Makefile
  head/databases/postgresql96-server/files/postgresql.in

Modified: head/databases/postgresql96-server/Makefile
==============================================================================
--- head/databases/postgresql96-server/Makefile	Wed Sep 21 08:42:26 2016	(r422550)
+++ head/databases/postgresql96-server/Makefile	Wed Sep 21 09:02:59 2016	(r422551)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 DISTVERSION?=	9.6rc1
-PORTREVISION?=	2
+PORTREVISION?=	3
 
 MAINTAINER?=	pgsql@FreeBSD.org
 

Modified: head/databases/postgresql96-server/files/postgresql.in
==============================================================================
--- head/databases/postgresql96-server/files/postgresql.in	Wed Sep 21 08:42:26 2016	(r422550)
+++ head/databases/postgresql96-server/files/postgresql.in	Wed Sep 21 09:02:59 2016	(r422551)
@@ -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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609210902.u8L92xp8066868>