aboutsummaryrefslogtreecommitdiffstats
path: root/databases/postgresql83-server
diff options
context:
space:
mode:
authorgirgen <girgen@FreeBSD.org>2005-02-15 08:30:50 +0800
committergirgen <girgen@FreeBSD.org>2005-02-15 08:30:50 +0800
commit37aa3c80f7e560d0c91733df8c3857b36ba1cc65 (patch)
tree4311d0e8ef9c56111e1f02c2c8fedd5c5abf88ca /databases/postgresql83-server
parentc80e6bb6ff3f522f1923ecb3d170a5f9f51d256e (diff)
downloadfreebsd-ports-gnome-37aa3c80f7e560d0c91733df8c3857b36ba1cc65.tar.gz
freebsd-ports-gnome-37aa3c80f7e560d0c91733df8c3857b36ba1cc65.tar.zst
freebsd-ports-gnome-37aa3c80f7e560d0c91733df8c3857b36ba1cc65.zip
The postgresql_* knobs from /etc/rc.conf where read too late to
actually make a difference. Noticed by: Salvatore Montefusco, Brian B. Approved by: ade (mentor)
Diffstat (limited to 'databases/postgresql83-server')
-rw-r--r--databases/postgresql83-server/files/pgsql.sh.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/databases/postgresql83-server/files/pgsql.sh.tmpl b/databases/postgresql83-server/files/pgsql.sh.tmpl
index b3e33352de07..2f543cdc4afb 100644
--- a/databases/postgresql83-server/files/pgsql.sh.tmpl
+++ b/databases/postgresql83-server/files/pgsql.sh.tmpl
@@ -23,6 +23,7 @@ prefix=%%PREFIX%%
. %%RC_SUBR%%
+load_rc_config postgresql
# set defaults
postgresql_enable=${postgresql_enable:-"NO"}
@@ -54,5 +55,4 @@ postgresql_initdb()
su -l ${postgresql_user} -c "exec ${prefix}/bin/initdb -D ${postgresql_data}"
}
-load_rc_config postgresql
run_rc_command "$1"