Re: [BUGS] startup scripts don't function properly

2001-04-19 Thread Peter Eisentraut
[EMAIL PROTECTED] writes: > 1. The "su" commands for start/stop/restart/status are in the form of "su > -". This picks up the environment of the postgres user, which wipes out > the environment variables that were set earlier in this script (e.g., > PGDATA). Quick solution is to remove the ext

Re: [BUGS] startup scripts don't function properly

2001-04-19 Thread Lamar Owen
[EMAIL PROTECTED] wrote: > 2. (Not necessarily a problem!) Scripts default to not allow TCP/IP > connections. Adding -o "-i" to start and restart fixed this problem. > This is understandable from a security standpoint. Maybe an > environment variable could be set in the "Editable" portion of t

[BUGS] startup scripts don't function properly

2001-04-19 Thread VASQUEZ_JASON
There are 2 problems: 1.  The "su" commands for start/stop/restart/status are in the form of "su -".  This picks up the environment of the postgres user, which wipes out the environment variables that were set earlier in this script (e.g., PGDATA).  Quick solution is to remove the extra dashes.