From 20775c0b734946e9e7b7e61be0c8f027a7e2e62a Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Wed, 31 Oct 2012 12:31:08 +0100 Subject: [PATCH] Fix service module for varnish initscript in EPEL It outputs 'dead but pid file exists'. --- library/service | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/service b/library/service index 3426e9becad..e8ede0678f6 100755 --- a/library/service +++ b/library/service @@ -171,6 +171,8 @@ def _get_service_status(name, pattern): running = False elif 'dead but subsys locked' in cleanout: running = False + elif 'dead but pid file exists' in cleanout: + running = False # if the job status is still not known check it by special conditions if running == None: