Is this just me or did anyone actually think about adding a UPS to the machine
and monitor it with NUT ?
That way the machine would shut down properly, making the whole stale pid-file
issue irrelevant.
UC
On Wednesday 27 April 2005 13:41, Tom Lane wrote:
> Philip Hallstrom <postgresql@philip.pjkh.com> writes:
> > Although I like having a separate startup script that runs first to go
> > around removing this and other things as well...
>
> I think most Unix variants have a specific bootup script that's charged
> with doing exactly that; if you can find it, that's a good place to add
> a line for postmaster.pid.
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend
--
Open Source Solutions 4U, LLC 2570 Fleetwood Drive
Phone: +1 650 872 2425 San Bruno, CA 94066
Cell: +1 650 302 2405 United States
Fax: +1 650 872 2417