Fixing kill commands

This commit is contained in:
Samuel Clay 2014-05-16 12:39:18 -07:00
parent 83d0654eef
commit d299346e06
3 changed files with 4 additions and 4 deletions

4
fabfile.py vendored
View file

@ -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()

View file

@ -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

View file

@ -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