Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 62364 Details for
Bug 96812
Perl-Kolab [Component of Kolab2]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Fixes reload code in Kolab.pm
Kolab-1.23-gentoo-fix-2.patch (text/plain), 2.94 KB, created by
Gunnar Wrobel (RETIRED)
on 2005-06-30 15:56:01 UTC
(
hide
)
Description:
Fixes reload code in Kolab.pm
Filename:
MIME Type:
Creator:
Gunnar Wrobel (RETIRED)
Created:
2005-06-30 15:56:01 UTC
Size:
2.94 KB
patch
obsolete
>--- Kolab.pm 2005-06-30 17:30:38.000000000 +0200 >+++ Kolab.pm.gentoo2 2005-06-30 17:31:09.000000000 +0200 >@@ -356,51 +356,55 @@ > > if ($haschanged{'slapd'}) { > &log('K', 'Restarting OpenLDAP...'); >- system("$ap::config->{bindir}/openpkg rc openldap restart &"); >+ system("$ap::config->{sysconfdir}/init.d/slurpd restart &"); > } > > if ($haschanged{'saslauthd'}) { > &log('K', 'Restarting SASLAuthd...'); >- system("$ap::config->{bindir}/openpkg rc sasl stop; sleep 1; $ap::config->{sbindir}/saslauthd -a ldap -n 5"); >+ system("$ap::config->{sysconfdir}/init.d/saslauthd restart"); > } > > if ($haschanged{'apache'}) { > &log('K', 'Reloading Apache...'); >- system("$ap::config->{sbindir}/apachectl graceful"); >+ system("$ap::config->{sysconfdir}/init.d/apache restart"); > } > > if ($haschanged{'postfix'}) { > &log('K', 'Reloading Postfix...'); >- system("$ap::config->{sbindir}/postfix reload"); >+ system("$ap::config->{sysconfdir}/init.d/postfix restart"); > } > > if ($haschanged{'imapd'}) { > &log('K', 'Restarting imapd...'); >- # Would it be enough with a reload here? /steffen >- system("$ap::config->{bindir}/openpkg rc imapd restart"); >+ system("$ap::config->{sysconfdir}/init.d/cyrus restart"); > } > > if ($haschanged{'amavisd'}) { > &log('K', 'Restarting amavisd...'); >- system("$ap::config->{bindir}/openpkg rc amavisd restart"); >+ system("$ap::config->{sysconfdir}/init.d/amavisd restart"); > } > > if ($haschanged{'clamav'}) { > &log('K', 'Restarting clamav...'); >- system("$ap::config->{bindir}/openpkg rc clamav restart"); >+ system("$ap::config->{sysconfdir}/init.d/clamd restart"); > } > >- if ($config{'proftpd-ftp'} =~ /true/i) { >- Kolab::log('K', 'Starting ProFTPd if not running'); >- system("$ap::config->{bindir}/openpkg rc proftpd start"); >- if ($haschanged{'proftpd'}) { >- &log('K', 'Reloading ProFTPd...'); >- kill('SIGHUP', `cat $ap::config->{ftpserver_pidfile}`); >- } >- } else { >- &log('K', 'Stopping ProFTPd, if running...'); >- system("$ap::config->{bindir}/openpkg rc proftpd stop"); >- } >+ if ($haschanged{'proftpd-ftp'}) { >+ &log('K', 'Restarting proftpd...'); >+ system("$ap::config->{sysconfdir}/init.d/proftpd restart"); >+ } >+ >+# if ($config{'proftpd-ftp'} =~ /true/i) { >+# Kolab::log('K', 'Starting ProFTPd if not running'); >+# system("$ap::config->{bindir}/openpkg rc proftpd start"); >+# if ($haschanged{'proftpd'}) { >+# &log('K', 'Reloading ProFTPd...'); >+# kill('SIGHUP', `cat $prefix$ap::config->{localstatedir}/proftpd/proftpd.pid`); >+# } >+# } else { >+# &log('K', 'Stopping ProFTPd, if running...'); >+# system("$ap::config->{bindir}/openpkg rc proftpd stop"); >+# } > > %Kolab::Conf::haschanged = (); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 96812
:
61741
|
62362
|
62363
|
62364
|
62365
|
64074