Skip to content
Snippets Groups Projects
Unverified Commit 6190abe8 authored by Amber Brown's avatar Amber Brown Committed by GitHub
Browse files

Merge pull request #4057 from matrix-org/rav/use_correct_python

Use the right python when starting workers
parents 2baebace c69026a7
No related branches found
No related tags found
No related merge requests found
synctl will use the right python executable to run worker processes
\ No newline at end of file
#!/usr/bin/env python #!/usr/bin/env python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# Copyright 2014-2016 OpenMarket Ltd # Copyright 2014-2016 OpenMarket Ltd
# Copyright 2018 New Vector Ltd
# #
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. # you may not use this file except in compliance with the License.
...@@ -86,7 +87,7 @@ def start(configfile): ...@@ -86,7 +87,7 @@ def start(configfile):
def start_worker(app, configfile, worker_configfile): def start_worker(app, configfile, worker_configfile):
args = [ args = [
"python", "-B", sys.executable, "-B",
"-m", app, "-m", app,
"-c", configfile, "-c", configfile,
"-c", worker_configfile "-c", worker_configfile
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment