mirror of
https://github.com/viq/NewsBlur.git
synced 2025-04-13 09:38:09 +00:00
Fixing kill commands
This commit is contained in:
parent
83d0654eef
commit
d299346e06
3 changed files with 4 additions and 4 deletions
4
fabfile.py
vendored
4
fabfile.py
vendored
|
@ -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()
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue