databases/postgresql??-server: Properly set login class at start
PR: 275851 (submitted by takeda at takeda.tk)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
DISTVERSION?= 14.10
|
||||
# PORTREVISION must be ?= otherwise, all slave ports get this PORTREVISION and
|
||||
# not their own. Probably best to keep it at ?=0 when reset here too.
|
||||
PORTREVISION?= 1
|
||||
PORTREVISION?= 2
|
||||
|
||||
MAINTAINER?= pgsql@FreeBSD.org
|
||||
|
||||
|
||||
@@ -104,7 +104,7 @@ command_args="-D ${postgresql_data} ${postgresql_flags}"
|
||||
|
||||
postgresql_command()
|
||||
{
|
||||
${su_cmd} -l ${postgresql_user} -c "exec ${command} ${command_args} ${rc_arg}"
|
||||
${su_cmd} -l -c ${postgresql_login_class} ${postgresql_user} -c "exec ${command} ${command_args} ${rc_arg}"
|
||||
}
|
||||
|
||||
postgresql_initdb()
|
||||
|
||||
Reference in New Issue
Block a user