Hi Norbert!

Norbert Kiesel [2005-10-08 23:09 -0700]:
> here is a simple patch to init.d-functions for the run-parts. I picked
> "/etc/postgresql/<version>/clients.d" as the run-parts directory name.

Thanks for the initial patch. I have two comments:

 - The name clients.d seems a bit misleading to me. OTOH I don't know
   a much better name (restart.d perhaps); discussing the name as well
   as the whole approach might be worth discussing on debian-devel.
  
 - There should be support for global hook directories in
   /etc/postgresql/clients.d (or whatever name).

It just came into my mind that this would perfectly fit to remove the
autovacuum special case from all the scripts and put them into such a
hook script instead. Nice :-)

> - should the run-parts directory in the cluster dir instead?

No, since these links are configuration files, they must be in /etc.

> - when/where is the /etc/postgresql/7.4 directory created (so that I can
>   add creating the clients.d directory)?

pg_createcluster creates and populates the directory.

Thanks!

Martin
-- 
Martin Pitt              http://www.piware.de
Ubuntu Developer   http://www.ubuntulinux.org
Debian Developer        http://www.debian.org

Attachment: signature.asc
Description: Digital signature

Reply via email to