Does the source distribution come with the file bin/postresql-startup in the PGHOME directory? In the debian distribution, this script is called by /etc/init.d/postgresql and handles startup based on the configuration file.
On Sun, Feb 25, 2001 at 08:52:02PM -0500, Andrew Perrin wrote: > Could some kind soul help out with this? I built postgres from source > instead of using the .deb, and all works fine except for having it start > on bootup. I'm stuck on trying to get the startup script to run as user > 'postgres' instead of as root. I tried to have it issue the command: > > su postgres '/usr/local/pgsql/bin/pg_ctl -w -D/var/lib/postgres/data -o > "-i" start' >