summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorThomas Arendsen Hein <thomas@intevation.de>2009-03-17 11:20:57 (GMT)
committerThomas Arendsen Hein <thomas@intevation.de>2009-03-17 11:20:57 (GMT)
commit2611b7678432cd9d11c91b7ddb2284c4db4d78f8 (patch)
treecb83fdb991be0b110b1df538cf2a1a8bfd34ea9a /lib
parentc66d20869019008796d729a3cda5946dcf878f80 (diff)
downloadperl-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.pm7
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");