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:
benoitc 2012-05-25 13:40:29 +02:00
parent 3ff895d735
commit 5e37c89017

View File

@ -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: