diff options
Diffstat (limited to 'databases/postgresql91-server/files/postgresql.in')
-rw-r--r-- | databases/postgresql91-server/files/postgresql.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/databases/postgresql91-server/files/postgresql.in b/databases/postgresql91-server/files/postgresql.in index a44c713d6b25..1b3b4226acdf 100644 --- a/databases/postgresql91-server/files/postgresql.in +++ b/databases/postgresql91-server/files/postgresql.in @@ -12,7 +12,7 @@ # # optional # postgresql_data="%%PREFIX%%/pgsql/data" # postgresql_flags="-w -s -m fast" -# postgresql_initdb_flags="--encoding=utf-8 --lc_collate=C" +# postgresql_initdb_flags="--encoding=utf-8 --lc-collate=C" # postgresql_class="default" # # See %%PREFIX%%/share/doc/postgresql/README-server for more info @@ -36,7 +36,7 @@ postgresql_flags=${postgresql_flags:-"-w -s -m fast"} postgresql_user=pgsql eval postgresql_data=${postgresql_data:-"~${postgresql_user}/data"} postgresql_class=${postgresql_class:-"default"} -postgresql_initdb_flags=${postgresql_initdb_flags:-"--encoding=utf-8 --lc_collate=C"} +postgresql_initdb_flags=${postgresql_initdb_flags:-"--encoding=utf-8 --lc-collate=C"} name=postgresql rcvar=`set_rcvar` @@ -58,7 +58,7 @@ postgresql_command() postgresql_initdb() { - su -l -c ${postgresql_class} ${postgresql_user} -c "exec ${prefix}/bin/initdb -D ${postgresql_data}" + su -l -c ${postgresql_class} ${postgresql_user} -c "exec ${prefix}/bin/initdb ${postgresql_initdb_flags} -D ${postgresql_data}" } run_rc_command "$1" |