[Kolab-devel] Re: steffen: server/kolabd/kolabd/templates DB_CONFIG.slapd.template, 1.2, 1.3 amavisd.conf.template, 1.6, 1.7 clamd.conf.template, 1.2, 1.3 cyrus.conf.template, 1.1.1.1, 1.2 fbview.conf.template, 1.1.1.1, 1.2 freebusy.conf.template, 1.1.1.1, 1.2 freshclam.conf.template, 1.2, 1.3 httpd.conf.template, 1.6, 1.7 httpd.local.template, 1.1, 1.2 imapd.conf.template, 1.5, 1.6 imapd.group.template, 1.1.1.1, 1.2 ldap.conf.template, 1.1.1.1, 1.2 ldapdistlist.cf.template, 1.1, 1.2 ldaptransport.cf.template, 1.1, 1.2 ldapvirtual.cf.template, 1.1, 1.2 main.cf.template, 1.18, 1.19 master.cf.template, 1.12, 1.13 php.ini.template, 1.4, 1.5 proftpd.conf.template, 1.1.1.1, 1.2 rc.conf.template, 1.2, 1.3 resmgr.conf.template, 1.7, 1.8 saslauthd.conf.template, 1.1.1.1, 1.2 session_vars.php.template, 1.4, 1.5 slapd.access.template, 1.1, 1.2 slapd.conf.template, 1.14, 1.15 slapd.replicas.template, 1.1.1.1, 1.2 smtpd.conf.template, 1.1.1.1, 1.2 transport.template, 1.1.1.1 , 1.2 virtual.temp late, 1.1.1.1, 1.2

Steffen Hansen steffen at klaralvdalens-datakonsult.se
Sat Jul 30 02:27:11 CEST 2005


On Friday 29 July 2005 15:53, Stephan Buys wrote:
> hehe, w00t!
>
> Sorry, just had to be  glad to see something we put in last year is
> actually hitting prime-time now :-)

We're happy for your contribution of course, but given the slight 
sarcasm in your mail, I have to say it didn't really work until now.

The few lines of code to parse the meta-data part of the templates are 
fine of course, but getting things to work with the templates that we 
handle in special ways (like imapd.group) did require more than that.

Anyway, I'd like to push the "update command" out to the templates also 
if possible. I haven't experimented with it yet, but I fear that just 
having

COMMAND=/kolab/bin/openpkg rc foobar restart

in the templates is not good enough because we can't control the order 
of things. Also it'll be difficult to prevent multiple restarts of the 
same service unless the COMMAND given in the templates are byte-by-byte 
equal. Any good ideas?

regards
-- 
Steffen Hansen          |       Klarälvdalens Datakonsult AB
Senior Software Engineer|       http://www.klaralvdalens-datakonsult.se
                        |
                        |       Platform-independent
                        |       software solutions




More information about the devel mailing list