agent: assume the management command will find its settings

This commit is contained in:
Frédéric Péters 2015-02-10 14:20:04 +01:00
parent 74673fa6fa
commit c7beabc56c
1 changed files with 1 additions and 2 deletions

View File

@ -53,8 +53,7 @@ class BaseService(object):
def execute(self, environment):
domain = urlparse.urlparse(self.base_url).netloc.split(':')[0]
cmd_process = subprocess.Popen(self.service_manage_cmd + ' create_tenant ' + domain,
shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE,
env={self.service_settings_env: self.service_settings_file})
shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
stdout = cmd_process.communicate()