Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 124346 Details for
Bug 177428
net-proxy/http-replicator-3.0 fail to start at boot (fix included)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Temporary workaround for SIGHUP
http-replicator-sighup.patch (text/plain), 998 bytes, created by
Maurice van der Pot (RETIRED)
on 2007-07-09 18:27:58 UTC
(
hide
)
Description:
Temporary workaround for SIGHUP
Filename:
MIME Type:
Creator:
Maurice van der Pot (RETIRED)
Created:
2007-07-09 18:27:58 UTC
Size:
998 bytes
patch
obsolete
>--- /usr/bin/http-replicator 2007-07-09 20:09:44.000000000 +0200 >+++ http-replicator 2007-07-09 20:11:48.433913445 +0200 >@@ -5,7 +5,7 @@ > # Because of this the server runs as a single process, multiplexing I/O with its various client and server connections within a single process/thread. > # According to the readme <http://www.nightmare.com/medusa/README.html> this means it is capable of smoother and higher performance than most other servers, while placing a dramatically reduced load on the server machine. > >-import asyncore, socket, os, time, calendar, sys, re, optparse, logging >+import asyncore, socket, os, time, calendar, sys, re, optparse, logging, signal > > # LISTENER > # >@@ -636,6 +636,8 @@ > pidfile.write(str(pid)) # store child's pid > pidfile.close() > return >+ else: >+ signal.signal(signal.SIGHUP, signal.SIG_IGN) > else: > handler = logging.StreamHandler(sys.stdout) # log to stdout > handler.setFormatter(logging.Formatter('%(levelname)s: %(name)s %(message)s'))
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 177428
:
118412
| 124346