Re: Database shutdown

From: Björn Lundin <bjorn(dot)lundin(at)swipnet(dot)se(dot)nospam>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Database shutdown
Date: 2001-03-24 09:42:12
Message-ID: 99hq82$npv$1@news.tht.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Christian Marschalek wrote:

> Hi all of you! :o)
>
> I guess I do have to shut down the database before shutting down the
> linux box?
> How would I accomplish this?
> Just by killing the postmaster per pid?
>
> Tia and regards!
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster

Add a symbolic link to /etc/inid.d/postgresql in /etc/inid.d/rcd.6 and
/etc/inid.d/rcd.0 (reboot and shutdown)

ln -s /etc/init.d/postgresql /etc/inid.d/rcd.0/K15postgresql

The K make the call with 'stop'.
At boottime there's proberly a call to /etc/inid.d/rcd.0/S85postgresql

where the S makes the call with 'start'

To shutdown manually just su to root and run
'/etc/init.d/postgresql stop'

The links kan be accomplished by running (as root) tksysv (a gui to start
and stop services)

Björn

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Peter Eisentraut 2001-03-24 10:18:11 Re: Re: Call for platforms
Previous Message Peter Eisentraut 2001-03-24 09:38:04 Re: Call for platforms