[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
[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
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.