From: | Bruno Wolff III <bruno(at)wolff(dot)to> |
---|---|
To: | Kolus Maximiliano <Kolus(dot)maximiliano(at)bcr(dot)com(dot)ar> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: postgres+daemontools |
Date: | 2003-08-06 18:02:07 |
Message-ID: | 20030806180207.GB28850@wolff.to |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Wed, Aug 06, 2003 at 11:28:23 -0300,
Kolus Maximiliano <Kolus(dot)maximiliano(at)bcr(dot)com(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Wilson A. Galafassi Jr. | 2003-08-06 18:03:41 | PostgreSql under Linux |
Previous Message | Tom Lane | 2003-08-06 17:57:30 | Re: v7.4 Beta 1 fails regression on Digital Unix/Tru64 4.0 |