Commit 2b88f935 authored by Łukasz Nowak's avatar Łukasz Nowak

slap/standalone: Provide well known configuration file to supervisord

The supervisord binary in some environments (like webrunner), seems to not
follow the automatic way to find the configuration file, so instead of relying
on it, just explicitly provide the file.

/reviewed-on nexedi/slapos.core!168
parent b9e4820b
......@@ -704,7 +704,7 @@ class StandaloneSlapOS(object):
self._logger.debug("Supervisor pid file seem stale")
# start new supervisord
output = subprocess.check_output(
['supervisord'],
['supervisord', '--configuration', self._supervisor_config],
cwd=self._base_directory,
)
self._logger.debug("Started new supervisor: %s", output)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment