mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-26 19:47:05 +03:00
Allow running python from a venv
This commit is contained in:
parent
18a331a18c
commit
e91cd9c722
1 changed files with 4 additions and 0 deletions
|
@ -621,6 +621,10 @@ def generate_base_homeserver_config() -> None:
|
|||
# This script makes use of the `SYNAPSE_CONFIG_DIR` environment variable to
|
||||
# determine where to place the generated homeserver config.
|
||||
|
||||
# We use "python" instead of supplying an absolute path here to allow those
|
||||
# running the script to use python from a virtual env.
|
||||
subprocess.run(["python", "/start.py", "migrate_config"], check=True)
|
||||
|
||||
|
||||
def parse_worker_types(
|
||||
requested_worker_types: List[str],
|
||||
|
|
Loading…
Reference in a new issue