mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
don't try to set the script as the process group. fix #355
Setting gunicorn as the process group prevent exit from the shell.
This commit is contained in:
parent
3ff895d735
commit
5e37c89017
@ -119,12 +119,7 @@ class Application(object):
|
||||
debug.spew()
|
||||
if self.cfg.daemon:
|
||||
util.daemonize()
|
||||
else:
|
||||
try:
|
||||
os.setpgrp()
|
||||
except OSError, e:
|
||||
if e[0] != errno.EPERM:
|
||||
raise
|
||||
|
||||
try:
|
||||
Arbiter(self).run()
|
||||
except RuntimeError, e:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user