Commit 7af3bdc8 by Jeremy Smitherman

Added additional output to service status checker

parent 238e4adb
...@@ -108,6 +108,8 @@ def _get_service_status(name): ...@@ -108,6 +108,8 @@ def _get_service_status(name):
running = True running = True
elif cleaned_status_stdout.find("start") != -1 and cleaned_status_stdout.find("not") == -1: elif cleaned_status_stdout.find("start") != -1 and cleaned_status_stdout.find("not") == -1:
running = True running = True
elif 'could not access pid file' in cleaned_status_stdout:
running = False
# if the job status is still not known check it by special conditions # if the job status is still not known check it by special conditions
if running == None: if running == None:
......
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