Skip to content

Commit a9b3e33

Browse files
committed
Fixed path for gunicorn config file
1 parent 553a159 commit a9b3e33

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

manifests/django.pp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
$proxy = true,
99
$proxy_hosts = [],
1010
$directory = "/home/$user/$title/src",
11-
$gunicorn_cfg = "$directory/$title/gunicorn.conf.py",
11+
$gunicorn_cfg = "$title/gunicorn.conf.py",
1212
$vhost_cfg_append = undef,
1313
) {
1414
include supervisor
@@ -25,7 +25,7 @@
2525
}
2626

2727
$virtualenv_path = "/home/$user/.virtualenvs/$title"
28-
$manage_path = "$virtualenv_path/bin/python ~/$title/src/manage.py"
28+
$manage_path = "$virtualenv_path/bin/python $directory/manage.py"
2929

3030
supervisor::app { $title:
3131
command => "$virtualenv_path/bin/gunicorn $title.wsgi:application --bind=$ip:$port --config=$gunicorn_cfg",

0 commit comments

Comments
 (0)