Re: Need PostgreSQL startup scripts

From: will trillich <will(at)serensoft(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Need PostgreSQL startup scripts
Date: 2001-04-02 04:22:05
Message-ID: 20010401232205.E5854@serensoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sun, Apr 01, 2001 at 01:13:21PM +1000, Justin Clift wrote:
> If anybody has a minute or two, can they please email me the startup
> script they use on their system to automatically start PostgreSQL when
> the system boots?
>
> I have a Linux Mandrake 7.2 startup script for PostgreSQL 7.0.3 on the
> techdocs.postgresql.org site, and I'm looking for startup scripts for
> other OS's. Startup scripts that are SANE of course.
>
> From what I understand of Debian, it uses a different method of starting
> up than Mandrake, so I'd appreciate a copy of the Debian startup script
> especially.

when i do an

apt-get install postgresql

on my debian potato (2.2) system, it creates the

/etc/init.d/postgresql

script which can be called via symlink from any of the
/etc/rc*.d/S??* startup scripts to match your runlevels (where
rc3.d would be for runlevel 3).

so in theory, it should just 'come with the meat' and simply work
out-of-the-box. if not, you can try

/etc/init.d/postgresql start

(as root) toget it going by hand, and then check

man update-rc.d

to see how to use the debian way to install runlevel-specific
hooks to get postgresql going.

--
does a brain cell think?

will(at)serensoft(dot)com
http://sourceforge.net/projects/newbiedoc -- we need your brain!
http://www.dontUthink.com/ -- your brain needs us!

In response to

Browse pgsql-general by date

  From Date Subject
Next Message will trillich 2001-04-02 04:24:04 Re: dynamic field names in a function.
Previous Message Rod Taylor 2001-04-02 03:39:13 pg_dump -s puts out SETVAL lines