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