Fix service module for varnish initscript in EPEL

It outputs 'dead but pid file exists'.
parent be300b56
......@@ -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:
......
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