thomas: server/perl-kolab/lib/Kolab Conf.pm,1.4,1.5

cvs at kolab.org cvs at kolab.org
Tue Mar 17 12:20:59 CET 2009


Author: thomas

Update of /kolabrepository/server/perl-kolab/lib/Kolab
In directory doto:/tmp/cvs-serv823/perl-kolab/lib/Kolab

Modified Files:
	Conf.pm 
Log Message:
Use RUNONCHANGE mechanism to restart sasl after config changes.

For this special handling of saslauthd in perl-kolab had to be removed,
which was broken anyway.


Index: Conf.pm
===================================================================
RCS file: /kolabrepository/server/perl-kolab/lib/Kolab/Conf.pm,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- Conf.pm	4 Mar 2009 11:51:36 -0000	1.4
+++ Conf.pm	17 Mar 2009 11:20:57 -0000	1.5
@@ -291,8 +291,6 @@
         if ($rc) {
             if ($cfg =~ /postfix/) {
                 $haschanged{'postfix'} = 1;
-            } elsif ($cfg =~ /saslauthd/) {
-                $haschanged{'saslauthd'} = 1;
             } elsif ($cfg =~ /apache/) {
                 $haschanged{'apache'} = 1;
             } elsif ($cfg =~ /openldap/) {
@@ -844,11 +842,6 @@
     if ($haschanged{'slapd'}) {
         &Kolab::log('K', 'Restarting OpenLDAP...');
         system("$Kolab::config{'KOLABRC'} rc openldap restart &");
-    }
-
-    if ($haschanged{'saslauthd'}) {
-        &Kolab::log('K', 'Restarting SASLAuthd...');
-        system("$Kolab::config{'KOLABRC'} rc sasl stop; sleep 1; $Kolab::config{sbindir}/saslauthd -a ldap -n 5");
     }
 
     if ($haschanged{'apache'}) {





More information about the commits mailing list