Thread: how to start postgresql server ( or postmaster ) automatically

how to start postgresql server ( or postmaster ) automatically

From
Hualin Yip
Date:
I have installed the postgresql in a Linux 6.2 machine.  Everything
seems to be working.  However, after rebooting the system, I have to
manually start the postmaster.
I found that there is postgresql under /etc/rc.d/init.d.

How can I set up the machine so that it will automatically restart
postmaster after reboot?

Thanks


Re: how to start postgresql server ( or postmaster ) automatically

From
"John Clark L. Naldoza"
Date:
Hualin Yip wrote:
>
> I have installed the postgresql in a Linux 6.2 machine.  Everything
> seems to be working.  However, after rebooting the system, I have to
> manually start the postmaster.
> I found that there is postgresql under /etc/rc.d/init.d.
>
> How can I set up the machine so that it will automatically restart
> postmaster after reboot?


chkconfig --level 35 postgresql on

or use the setup utility ...;-)


--
     /) John Clark Naldoza y Lopez                           (\
    / )    Software Design Engineer II                       ( \
  _( (_    _  Web-Application Development                    _) )_
 (((\ \>  /_>    Cable Modem Network Management System <_\  </ /)))
 (\\\\ \_/ /         NEC Telecom Software Phils., Inc.  \ \_/ ////)
  \       /                                              \       /
   \    _/  phone: (+63 32) 233-9142 loc. 3112            \_    /
   /   /  cellphone: (+63 919) 399-4742                     \   \
  /   / email: njclark@ntsp.nec.co.jp                        \   \