Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
4e6d89b5
Commit
4e6d89b5
authored
Sep 23, 2012
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1073 from dcoutu/devel
Added cases for 'dead but subsys locked' status
parents
0ff151f7
9bb83067
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
library/service
+4
-0
No files found.
library/service
View file @
4e6d89b5
...
...
@@ -101,6 +101,8 @@ def _get_service_status(name, pattern):
if
running
==
None
:
if
rc
==
3
:
running
=
False
if
rc
==
2
:
running
=
False
elif
rc
==
0
:
running
=
True
...
...
@@ -120,6 +122,8 @@ def _get_service_status(name, pattern):
running
=
False
elif
'is dead and pid file exists'
in
cleanout
:
running
=
False
elif
'dead but subsys locked'
in
cleanout
:
running
=
False
# if the job status is still not known check it by special conditions
if
running
==
None
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment