diff options
Diffstat (limited to 'databases/postgresql83-server/files/postgresql.in')
-rw-r--r-- | databases/postgresql83-server/files/postgresql.in | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/databases/postgresql83-server/files/postgresql.in b/databases/postgresql83-server/files/postgresql.in index 1b3b4226acdf..6d8dcd21f154 100644 --- a/databases/postgresql83-server/files/postgresql.in +++ b/databases/postgresql83-server/files/postgresql.in @@ -23,8 +23,7 @@ # # For postmaster startup options, edit ${postgresql_data}/postgresql.conf -prefix=%%PREFIX%% -command=${prefix}/bin/pg_ctl +command=%%PREFIX%%/bin/pg_ctl . %%RC_SUBR%% @@ -58,7 +57,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}" } run_rc_command "$1" |