Fix service module for varnish initscript in EPEL
It outputs 'dead but pid file exists'.
This commit is contained in:
parent
8d3f73d562
commit
1ec38eb435
1 changed files with 2 additions and 0 deletions
2
service
2
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:
|
||||
|
|
Loading…
Reference in a new issue