mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Merge pull request #1496 from dhozac/varnish-init-script
Fix service module for varnish initscript in EPEL
This commit is contained in:
@@ -171,6 +171,8 @@ def _get_service_status(name, pattern):
|
|||||||
running = False
|
running = False
|
||||||
elif 'dead but subsys locked' in cleanout:
|
elif 'dead but subsys locked' in cleanout:
|
||||||
running = False
|
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 the job status is still not known check it by special conditions
|
||||||
if running == None:
|
if running == None:
|
||||||
|
|||||||
Reference in New Issue
Block a user