Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix currently broken systemd services #48

Open
rixx opened this issue Oct 30, 2023 · 0 comments
Open

Fix currently broken systemd services #48

rixx opened this issue Oct 30, 2023 · 0 comments

Comments

@rixx
Copy link
Member

rixx commented Oct 30, 2023

The systemd services are currently broken for multi-venv installations. The venv part should be the parametrised part (%i), but instead we're using {{ pretalx_virtualenv }}.

There's no real great solution for this, as we currently allow users to override the default value (/usr/share/webapps/pretalx{{ pretalx_instance_identifier }}/venv/). If they do so, we have no way to tell where the venv is, and if it even includes the instance identifier in its name. I suppose we will have to introduce a pretalx_virtualenv_base and move the /{{ pretalx_instance_identifier }}/venv part into vars and keep it hard-coded for this to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant