Koozali.org: home of the SME Server

Starting PostgreSQL at boot

Andreas

Starting PostgreSQL at boot
« on: July 05, 2001, 02:43:09 PM »
I've installed PostgreSQL 7.1.2 on my e-smith server and has it configured and running by starting it manually. It installed a start-up script in /etc/rc.d/init.d/
How do I get PostgreSQL to start automatically at boot-time the "e-smith way" (by using templates etc...)?

Justin

Re: Starting PostgreSQL at boot
« Reply #1 on: July 05, 2001, 11:02:49 PM »
You need it to start the script with e-smith which is at run level 7.

So for example in /etc/rc.d/rc.6 so you will proabaly see a soft link to the /etc/rc.d/init.d Postgres script.

instead -

Make a softlink from /etc/rc.d/rc.7 directory to the init.d startup script and it will start automatically with e-smith.

Justin.

Andreas

Re: Starting PostgreSQL at boot
« Reply #2 on: July 06, 2001, 11:45:34 AM »
Thanks a lot! Works great, always good when there is no need to make templates etc!