Commit d246b709 authored by Yusei Tahara's avatar Yusei Tahara

Watch slapos-standalone-instance instead of theia-instance.

theia-instance may exit by unknown issue.
parent a828a81f
...@@ -42,7 +42,7 @@ def checkTheiaStatus(target_status): ...@@ -42,7 +42,7 @@ def checkTheiaStatus(target_status):
for line in completed_process.stdout.split(b'\n'): for line in completed_process.stdout.split(b'\n'):
if line.startswith(slappart_b): if line.startswith(slappart_b):
split_line = splitLine(line) split_line = splitLine(line)
if (split_line[0].startswith(slappart_b + b':theia-instance') and if (split_line[0].startswith(slappart_b + b':slapos-standalone-instance') and
split_line[1].decode('utf8') == target_status): split_line[1].decode('utf8') == target_status):
return True return True
return False return False
......
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