diff options
author | Thomas Arendsen Hein <thomas@intevation.de> | 2009-03-17 11:20:57 (GMT) |
---|---|---|
committer | Thomas Arendsen Hein <thomas@intevation.de> | 2009-03-17 11:20:57 (GMT) |
commit | 2611b7678432cd9d11c91b7ddb2284c4db4d78f8 (patch) | |
tree | cb83fdb991be0b110b1df538cf2a1a8bfd34ea9a /lib | |
parent | c66d20869019008796d729a3cda5946dcf878f80 (diff) | |
download | perl-Kolab-2611b7678432cd9d11c91b7ddb2284c4db4d78f8.tar.gz |
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.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Kolab/Conf.pm | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/Kolab/Conf.pm b/lib/Kolab/Conf.pm index 8e34d78..f6a3655 100644 --- a/lib/Kolab/Conf.pm +++ b/lib/Kolab/Conf.pm @@ -291,8 +291,6 @@ sub build { if ($rc) { if ($cfg =~ /postfix/) { $haschanged{'postfix'} = 1; - } elsif ($cfg =~ /saslauthd/) { - $haschanged{'saslauthd'} = 1; } elsif ($cfg =~ /apache/) { $haschanged{'apache'} = 1; } elsif ($cfg =~ /openldap/) { @@ -846,11 +844,6 @@ sub reload 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'}) { &Kolab::log('K', 'Reloading Apache...'); system("$Kolab::config{sbindir}/apachectl graceful"); |