mirror of
https://github.com/frappe/gunicorn.git
synced 2026-07-02 18:51:31 +08:00
Split long line
This commit is contained in:
parent
d81c6cefcb
commit
f2d8b6d100
@ -219,7 +219,8 @@ class Application(BaseApplication):
|
|||||||
|
|
||||||
if self.cfg.daemon:
|
if self.cfg.daemon:
|
||||||
if os.environ.get('NOTIFY_SOCKET'):
|
if os.environ.get('NOTIFY_SOCKET'):
|
||||||
msg = "Warning: you shouldn't specify `daemon = True` when launching by systemd with `Type = notify`"
|
msg = "Warning: you shouldn't specify `daemon = True`" \
|
||||||
|
" when launching by systemd with `Type = notify`"
|
||||||
print(msg, file=sys.stderr, flush=True)
|
print(msg, file=sys.stderr, flush=True)
|
||||||
|
|
||||||
util.daemonize(self.cfg.enable_stdio_inheritance)
|
util.daemonize(self.cfg.enable_stdio_inheritance)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user