pgsql.sh startup script

View: New views
1 Messages — Rating Filter:   Alert me  

pgsql.sh startup script

by Brook Milligan :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It seems that the postgresql rc.d startup scripts have the following
lines:

     # pgsql_home="/path/to/home" # path to pgsql database directory

     eval pgsql_home="~$pgsql_user"

I believe that the second of these unconditionally replaces the value
of $pgsql_home.  However, the previous comment suggests that one can
define the variable in rc.conf.

Should the redefinition be conditional on the value being empty?

Cheers,
Brook