From d299346e0671742eefda9b2427ee251fc33c1cdd Mon Sep 17 00:00:00 2001 From: Samuel Clay Date: Fri, 16 May 2014 12:39:18 -0700 Subject: [PATCH] Fixing kill commands --- fabfile.py | 4 ++-- utils/kill_celery.sh | 2 +- utils/kill_gunicorn.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/fabfile.py b/fabfile.py index 86e879d99..11220ebb0 100644 --- a/fabfile.py +++ b/fabfile.py @@ -741,9 +741,9 @@ def upgrade_django(): def upgrade_pil(): with cd(env.NEWSBLUR_PATH): - sudo('pip install pillow') - # celery_stop() pull() + sudo('pip install --upgrade pillow') + # celery_stop() sudo('apt-get remove -y python-imaging') kill() diff --git a/utils/kill_celery.sh b/utils/kill_celery.sh index a7a8f29e7..9bd2fa20d 100755 --- a/utils/kill_celery.sh +++ b/utils/kill_celery.sh @@ -1,6 +1,6 @@ #!/bin/sh -pkill -9 -f celery -c +pkill -9 -f celery # for i in `ps -o pid,command ax | grep celery | awk '!/awk/ && !/grep/ {print $1}'` # do diff --git a/utils/kill_gunicorn.sh b/utils/kill_gunicorn.sh index 243e2d57c..5e1c086fc 100755 --- a/utils/kill_gunicorn.sh +++ b/utils/kill_gunicorn.sh @@ -1,6 +1,6 @@ #!/bin/sh -pkill -9 -f gunicorn -c +pkill -9 -f gunicorn # for i in `ps -o pid,command ax | grep gunicorn | awk '!/awk/ && !/grep/ {print $1}'` # do