diff options
author | girgen <girgen@FreeBSD.org> | 2005-02-15 08:30:50 +0800 |
---|---|---|
committer | girgen <girgen@FreeBSD.org> | 2005-02-15 08:30:50 +0800 |
commit | 37aa3c80f7e560d0c91733df8c3857b36ba1cc65 (patch) | |
tree | 4311d0e8ef9c56111e1f02c2c8fedd5c5abf88ca /databases | |
parent | c80e6bb6ff3f522f1923ecb3d170a5f9f51d256e (diff) | |
download | freebsd-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')
8 files changed, 8 insertions, 8 deletions
diff --git a/databases/postgresql80-server/files/pgsql.sh.tmpl b/databases/postgresql80-server/files/pgsql.sh.tmpl index b3e33352de07..2f543cdc4afb 100644 --- a/databases/postgresql80-server/files/pgsql.sh.tmpl +++ b/databases/postgresql80-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" diff --git a/databases/postgresql81-server/files/pgsql.sh.tmpl b/databases/postgresql81-server/files/pgsql.sh.tmpl index b3e33352de07..2f543cdc4afb 100644 --- a/databases/postgresql81-server/files/pgsql.sh.tmpl +++ b/databases/postgresql81-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" diff --git a/databases/postgresql82-server/files/pgsql.sh.tmpl b/databases/postgresql82-server/files/pgsql.sh.tmpl index b3e33352de07..2f543cdc4afb 100644 --- a/databases/postgresql82-server/files/pgsql.sh.tmpl +++ b/databases/postgresql82-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" 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" diff --git a/databases/postgresql84-server/files/pgsql.sh.tmpl b/databases/postgresql84-server/files/pgsql.sh.tmpl index b3e33352de07..2f543cdc4afb 100644 --- a/databases/postgresql84-server/files/pgsql.sh.tmpl +++ b/databases/postgresql84-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" diff --git a/databases/postgresql90-server/files/pgsql.sh.tmpl b/databases/postgresql90-server/files/pgsql.sh.tmpl index b3e33352de07..2f543cdc4afb 100644 --- a/databases/postgresql90-server/files/pgsql.sh.tmpl +++ b/databases/postgresql90-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" diff --git a/databases/postgresql91-server/files/pgsql.sh.tmpl b/databases/postgresql91-server/files/pgsql.sh.tmpl index b3e33352de07..2f543cdc4afb 100644 --- a/databases/postgresql91-server/files/pgsql.sh.tmpl +++ b/databases/postgresql91-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" diff --git a/databases/postgresql92-server/files/pgsql.sh.tmpl b/databases/postgresql92-server/files/pgsql.sh.tmpl index b3e33352de07..2f543cdc4afb 100644 --- a/databases/postgresql92-server/files/pgsql.sh.tmpl +++ b/databases/postgresql92-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" |