Fix service module for varnish initscript in EPEL

It outputs 'dead but pid file exists'.
This commit is contained in:
Daniel Hokka Zakrisson 2012-10-31 12:31:08 +01:00
parent be300b562a
commit 20775c0b73

View file

@ -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: