mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
parent
e7781d2c2c
commit
f19e31fec5
@ -460,7 +460,7 @@ def is_hoppish(header):
|
|||||||
def daemonize(enable_stdio_inheritance=False):
|
def daemonize(enable_stdio_inheritance=False):
|
||||||
"""\
|
"""\
|
||||||
Standard daemonization of a process.
|
Standard daemonization of a process.
|
||||||
http://www.svbug.com/documentation/comp.unix.programmer-FAQ/faq_2.html#SEC16
|
http://www.faqs.org/faqs/unix-faq/programmer/faq/ section 1.7
|
||||||
"""
|
"""
|
||||||
if 'GUNICORN_FD' not in os.environ:
|
if 'GUNICORN_FD' not in os.environ:
|
||||||
if os.fork():
|
if os.fork():
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user