mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
remove GUNICORN_FD env after we start
This commit is contained in:
parent
e7155f4714
commit
d567089c3a
@ -77,6 +77,8 @@ class Arbiter(object):
|
||||
self.pidfile = self.opts.get("pidfile")
|
||||
self.log.info("Booted Arbiter: %s" % os.getpid())
|
||||
self.log.info("Listening on socket: %s" % self.LISTENER)
|
||||
if 'GUNICORN_FD' in os.environ:
|
||||
del os.environ['GUNICORN_FD']
|
||||
|
||||
def _del_pidfile(self):
|
||||
self._pidfile = None
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user