Re: postgres+daemontools - Mailing list pgsql-general

From Bruno Wolff III
Subject Re: postgres+daemontools
Date
Msg-id 20030806180207.GB28850@wolff.to
Whole thread Raw
In response to postgres+daemontools  (Kolus Maximiliano <Kolus.maximiliano@bcr.com.ar>)
List pgsql-general
On Wed, Aug 06, 2003 at 11:28:23 -0300,
  Kolus Maximiliano <Kolus.maximiliano@bcr.com.ar> wrote:
>
>     I'm about to install postgres on a box that has daemontools on it
> and I would like to use it. Is there anybody here already running postgres
> from daemontools? Is it advisable? Do you have any problems or issues I
> should took care before trying it?

I find it much simpler to run multiple instances of postgres than using
RH's init script.
The run file I use is:
#!/bin/sh
exec 2>&1
exec setuidgid postgres /usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data

pgsql-general by date:

Previous
From: Bruno Wolff III
Date:
Subject: Re: v7.4 Beta 1 Bundle Available for Testing ...
Next
From: "Wilson A. Galafassi Jr."
Date:
Subject: PostgreSql under Linux