Search Postgresql Archives

Re: Start up script for Fedora Core 3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Chris Guo wrote:

Dear all,

We are using Fedora Core 3 in our company, and we installed postgresql 8.0.3 as the database system. I wonder if anybody has the start up script for this version so we can start postgresql service automatically after we reboot the server.

Any help will be highly appreciated.

Chris

personally i use something like this on my rc.local:

rm -f /opt/pgsql-8.0.3/dbdata/postmaster.pid
sudo -u pgsql /opt/pgsql-8.0.3/bin/pg_ctl -o -i -D /opt/pgsql-8.0.3/dbdata/ -l /opt/pgsql-8.0.3/dbdata/logfile start

does the job, but i'm not sure i'd recommend it... ;)


best regards.





---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
      subscribe-nomail command to majordomo@xxxxxxxxxxxxxx so that your
      message can get through to the mailing list cleanly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux