File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 8
8
$proxy = true ,
9
9
$proxy_hosts = [],
10
10
$directory = " /home/$user /$title /src" ,
11
+ $gunicorn_cfg = " $directory /gunicorn.conf.py" ,
11
12
$vhost_cfg_append = undef ,
12
13
) {
13
14
include supervisor
14
15
15
16
include appdeploy::deps::l10n
16
- include appdeploy::deps::gevent
17
17
include appdeploy::deps::python
18
18
include appdeploy::deps::pillow
19
19
include appdeploy::deps::essential
28
28
$manage_path = " $virtualenv_path /bin/python manage.py"
29
29
30
30
supervisor::app { $title:
31
- command => " $virtualenv_path /bin/gunicorn $title .wsgi:application --bind=$ip :$port --worker-class=gevent --workers=3 " ,
31
+ command => " $virtualenv_path /bin/gunicorn $title .wsgi:application --bind=$ip :$port --config= $gunicorn_cfg " ,
32
32
}
33
33
34
34
if $celery {
You can’t perform that action at this time.
0 commit comments