On Tue, 19 Feb 2002, Tom Lane wrote:
> Rich Shepard <rshepard@appl-ecosys.com> writes:
> > su -l postgres -s /bin/sh -c "/usr/bin/pg_ctl -D $PGDATA -p /usr/bin/postmaster start > /dev/null
2>&1"< /dev/null
>
> -s /bin/sh ?
>
> Perhaps this is causing the thing to log in with /bin/sh not bash.
> IIRC, you were putting the environment variables in .bash_profile?
You recall correctly, Tom. bash is the default shell for us users (and
root, too). I've not edited any initialization/shutdown scripts before, but
I suppose that changing /bin/sh to /bin/bash will not break anything.
Thanks,
Rich