[pgpool-general: 3580] Re: Watchdog config
mark.kirkwood at catalyst.net.nz
Tue Mar 31 15:43:19 JST 2015
On 31/03/15 15:57, Mark Kirkwood wrote:
> I'm looking at setting up the watchdog to use a delegated ip. I note
> that the docs suggest either running pgpool as root or making ifconfig
> setuid root. I wondered if it could be done with *neither* of these
> changes. I figured we should be able to use sudo on the ifconfig bit,
> and setup the sudoers so that the usual pgpool user (say postgres) can
> perform the ifconfig command.
> Seemed to work ok (patch of config file changes attached). Is this
> approach worth adding to the docs?
Doh! I see that there is in fact mention of this in the docs (maybe I
was looking at an older version previously), sorry! However, perhaps a
more prominent mentioning, complete with examples of the modified
command line(s) might be useful.
More information about the pgpool-general