Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
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
configuration
Commits
70c430d4
Commit
70c430d4
authored
Jul 09, 2015
by
Feanil Patel
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2138 from edx/feanil/stop_some_services
Don't pkill some services.
parents
9a7bafc2
e50f8ebd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
playbooks/roles/stop_all_edx_services/handlers/main.yml
+2
-1
No files found.
playbooks/roles/stop_all_edx_services/handlers/main.yml
View file @
70c430d4
...
...
@@ -42,8 +42,9 @@
-
name
:
stop mongodb
service
:
name=mongodb state=stopped arguments="{{ STOP_ALL_EDX_SERVICES_EXTRA_ARGS }}"
# Celery and Supervisord should not be killed because they may have long running tasks that need to finish
-
name
:
kill processes by user
shell
:
p
kill -u {{ item }
} ||
true
shell
:
p
grep -u {{ item }} -lf | grep -v celery | grep -v supervisord | grep -v gunicorn | awk '{ print $1}' | xargs -I {} kill {
} ||
true
with_items
:
-
www-data
-
devpi.supervisor
...
...
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