On Thursday 21 Nov 2002 3:04 pm, Delao, Darryl W wrote:
> I am trying to configure postgres to automatically startup using the
> following command.
>
> Postmaster -I -p 5432 -D /usr/local/pgsql/data
>
> However, I am not sure where I should put this line within the postgres
> startup file.
>
> Any suggestions?
>
> Thank you!
> Darryl

Which OS  and version are you using?
How have you installed Postgresql?

If it's a relatively recent version of RedHat (6.0 onwards I think), and 
you're using the RPMs for Postgresql, then you can use

service postgresql start
and
service postgresql stop

to manually start and stop the service or use

chkconfig --list|grep postg

to see in which run-levels it starts automatically.

To turn on postgresql for runlevels 3 (text) and 5 (X) use

chkconfig --level 35 postgresql on

HTH

Gary
-- 
Gary Stainburn
 
This email does not contain private or confidential material as it
may be snooped on by interested government parties for unknown
and undisclosed purposes - Regulation of Investigatory Powers Act, 2000     



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to