Commit 9c240376 by Eric Fischer Committed by GitHub

Merge pull request #3896 from edx/efischer/prep_fix

Stop killing instructor tasks prematurely
parents 38bb66f9 73f43d87
......@@ -56,7 +56,7 @@
# Celery and Supervisord should not be killed because they may have long running tasks that need to finish
- name: kill processes by user
shell: pgrep -u {{ item }} -lf | grep -v celery | grep -v supervisord | grep -v gunicorn | awk '{ print $1}' | xargs -I {} kill {} || true
shell: pgrep -u {{ item }} -laf | grep -v celery | grep -v supervisord | grep -v gunicorn | awk '{ print $1}' | xargs -I {} kill {} || true
with_items:
- www-data
- rabbitmq
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