We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 553a159 commit a9b3e33Copy full SHA for a9b3e33
1 file changed
manifests/django.pp
@@ -8,7 +8,7 @@
8
$proxy = true,
9
$proxy_hosts = [],
10
$directory = "/home/$user/$title/src",
11
- $gunicorn_cfg = "$directory/$title/gunicorn.conf.py",
+ $gunicorn_cfg = "$title/gunicorn.conf.py",
12
$vhost_cfg_append = undef,
13
) {
14
include supervisor
@@ -25,7 +25,7 @@
25
}
26
27
$virtualenv_path = "/home/$user/.virtualenvs/$title"
28
- $manage_path = "$virtualenv_path/bin/python ~/$title/src/manage.py"
+ $manage_path = "$virtualenv_path/bin/python $directory/manage.py"
29
30
supervisor::app { $title:
31
command => "$virtualenv_path/bin/gunicorn $title.wsgi:application --bind=$ip:$port --config=$gunicorn_cfg",
0 commit comments