From 8018b217a2282419ecc1886d3d4d0627b8c9d8e6 Mon Sep 17 00:00:00 2001 From: Jeremy Smitherman Date: Tue, 10 Jul 2012 16:13:39 -0400 Subject: [PATCH] Added additional output to service status checker --- library/service | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/service b/library/service index 4000d81ac69..f9450e7fe32 100755 --- a/library/service +++ b/library/service @@ -108,6 +108,8 @@ def _get_service_status(name): running = True elif cleaned_status_stdout.find("start") != -1 and cleaned_status_stdout.find("not") == -1: 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 running == None: