ASF Bugzilla – Attachment 24041 Details for
Bug 47586
httpd -k start doesn't start service when rotatelogs is used
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to move "-k start" for mpm_winnt form post config to pre config
httpd-service-start.patch (text/plain), 1.03 KB, created by
Rainer Jung
on 2009-07-27 06:16:49 UTC
(
hide
)
Description:
Patch to move "-k start" for mpm_winnt form post config to pre config
Filename:
MIME Type:
Creator:
Rainer Jung
Created:
2009-07-27 06:16:49 UTC
Size:
1.03 KB
patch
obsolete
>Index: mpm_winnt.c >=================================================================== >--- mpm_winnt.c (Revision 797857) >+++ mpm_winnt.c (Arbeitskopie) >@@ -1452,6 +1452,13 @@ > > apr_cpystrn(ap_coredump_dir, ap_server_root, sizeof(ap_coredump_dir)); > >+ if (!strcasecmp(signal_arg, "start")) { >+ apr_status_t rv = 0; >+ rv = mpm_service_start(ptemp, inst_argc, inst_argv); >+ apr_terminate(); >+ exit (rv); >+ } >+ > return OK; > } > >@@ -1494,20 +1501,6 @@ > exit(0); > } > >- if (!strcasecmp(signal_arg, "start")) { >- ap_listen_rec *lr; >- >- /* Close the listening sockets. */ >- for (lr = ap_listeners; lr; lr = lr->next) { >- apr_socket_close(lr->sd); >- lr->active = 0; >- } >- rv = mpm_service_start(ptemp, inst_argc, inst_argv); >- apr_pool_destroy(s->process->pool); >- apr_terminate(); >- exit (rv); >- } >- > if (!strcasecmp(signal_arg, "restart")) { > mpm_signal_service(ptemp, 1); > apr_pool_destroy(s->process->pool);
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 47586
: 24041