centos9 fixes

This commit is contained in:
Spitap
2022-10-16 15:56:22 +02:00
parent b13cdbf0ba
commit d9ced63e99
6 changed files with 18 additions and 14 deletions

View File

@@ -29,10 +29,7 @@ class Uwsgi(base.Installer):
def get_template_context(self, app):
"""Additionnal variables."""
context = super(Uwsgi, self).get_template_context()
if package.backend.FORMAT == "deb":
uwsgi_plugin = "python3"
else:
uwsgi_plugin = "python36"
uwsgi_plugin = "python3"
context.update({
"app_user": self.config.get(app, "user"),
"app_venv_path": self.config.get(app, "venv_path"),