diff --git a/django/core/servers/fastcgi.py b/django/core/servers/fastcgi.py
index 7e724c2..c326e63 100644
a
|
b
|
Optional Fcgi settings: (setting=value)
|
42 | 42 | debug=BOOL set to true to enable flup tracebacks. |
43 | 43 | outlog=FILE write stdout to this file. |
44 | 44 | errlog=FILE write stderr to this file. |
| 45 | socket_umask=UMASK umask to use for creation of Unix Domain Socket. |
45 | 46 | umask=UMASK umask to use when daemonizing, in octal notation (default 022). |
46 | 47 | |
47 | 48 | Examples: |
… |
… |
FASTCGI_OPTIONS = {
|
77 | 78 | 'debug': None, |
78 | 79 | 'outlog': None, |
79 | 80 | 'errlog': None, |
| 81 | 'socket_umask': None, |
80 | 82 | 'umask': None, |
81 | 83 | } |
82 | 84 | |
… |
… |
def runfastcgi(argset=[], **kwargs):
|
129 | 131 | return fastcgi_help("ERROR: Implementation must be one of prefork or thread.") |
130 | 132 | |
131 | 133 | wsgi_opts['debug'] = options['debug'] is not None |
| 134 | if options['socket_umask']: wsgi_opts['umask'] = int(options['socket_umask']) |
132 | 135 | |
133 | 136 | try: |
134 | 137 | module = importlib.import_module('.%s' % flup_module, 'flup') |