File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -36,9 +36,9 @@ setuid <%= scope.lookupvar('user') %>
36
36
<% end -%>
37
37
38
38
<% case scope . lookupvar ( 'app_interface' ) when 'django' -%>
39
- exec <% if scope . lookupvar ( 'edx::newrelic::reporting' ) == true -%> $NEWRELIC run-program <% end -%> <%= scope . lookupvar ( 'virtualenv' ) %> /bin/gunicorn_django -b 127.0.0.1:$PORT -w $WORKERS --timeout=<%= scope . lookupvar ( 'timeout' ) %> --pythonpath=<%= scope . lookupvar ( 'package_root' ) %> --settings=<%= scope . lookupvar ( 'settings_module' ) %>
39
+ exec <% if scope . lookupvar ( 'edx::newrelic::reporting' ) == true -%> $NEWRELIC run-program <% end -%> <%= scope . lookupvar ( 'virtualenv' ) %> /bin/gunicorn_django -p ${PID} - b 127.0.0.1:$PORT -w $WORKERS --timeout=<%= scope . lookupvar ( 'timeout' ) %> --pythonpath=<%= scope . lookupvar ( 'package_root' ) %> --settings=<%= scope . lookupvar ( 'settings_module' ) %>
40
40
<% when 'wsgi' -%>
41
- exec <% if scope . lookupvar ( 'edx::newrelic::reporting' ) == true -%> $NEWRELIC run-program <% end -%> <%= scope . lookupvar ( 'virtualenv' ) %> /bin/gunicorn --preload -b 127.0.0.1:$PORT -w $WORKERS --timeout=<%= scope . lookupvar ( 'timeout' ) %> --pythonpath=<%= scope . lookupvar ( 'package_root' ) %> <%= scope . lookupvar ( 'wsgi_app' ) %>
41
+ exec <% if scope . lookupvar ( 'edx::newrelic::reporting' ) == true -%> $NEWRELIC run-program <% end -%> <%= scope . lookupvar ( 'virtualenv' ) %> /bin/gunicorn -p ${PID} - -preload -b 127.0.0.1:$PORT -w $WORKERS --timeout=<%= scope . lookupvar ( 'timeout' ) %> --pythonpath=<%= scope . lookupvar ( 'package_root' ) %> <%= scope . lookupvar ( 'wsgi_app' ) %>
42
42
<% when 'python' -%>
43
- exec su - www-data -c '<%= scope . lookupvar ( 'virtualenv' ) %> /bin/python <%= scope . lookupvar ( 'package_root' ) %> /<%= scope . lookupvar ( 'script_name' ) %> > /dev/null 2 > &1'
43
+ exec su - www-data -c '<%= scope . lookupvar ( 'virtualenv' ) %> /bin/python <%= scope . lookupvar ( 'package_root' ) %> /<%= scope . lookupvar ( 'script_name' ) %> > /dev/null 1 > &1'
44
44
<% end -%>
You can’t perform that action at this time.
0 commit comments