bodhi: update the static file path to use python3.8

Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
Clement Verna 2020-05-27 23:10:33 +02:00
parent 1ff1e6b2b4
commit f8996663de

View file

@ -31,7 +31,7 @@ MaxRequestWorkers 100
AllowOverride None
Require all granted
</Directory>
<Directory "/usr/lib/python3.7/site-packages/bodhi/server/static/">
<Directory "/usr/lib/python3.8/site-packages/bodhi/server/static/">
AllowOverride None
Require all granted
</Directory>
@ -59,7 +59,7 @@ Alias /docs /usr/share/doc/bodhi-docs/html/
{% if env == "staging" %}
Alias /static/v{{ bodhi_version.split('-')[0] }} /srv/bodhi/bodhi/server/static/
{% else %}
Alias /static/v{{ bodhi_version.split('-')[0] }} /usr/lib/python3.7/site-packages/bodhi/server/static/
Alias /static/v{{ bodhi_version.split('-')[0] }} /usr/lib/python3.8/site-packages/bodhi/server/static/
{% endif %}
WSGIDaemonProcess bodhi display-name=bodhi processes=2 threads=2 maximum-requests=100 home=/httpdir request-timeout=60
WSGIApplicationGroup %{GLOBAL}