mirror of
https://github.com/viq/NewsBlur.git
synced 2025-08-05 16:49:45 +00:00
Rearranging pkill on celery.
This commit is contained in:
parent
544f8c0423
commit
d2cc074d98
1 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,5 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
pkill -9 -f celery
|
|
||||||
|
|
||||||
# for i in `ps -o pid,command ax | grep celery | awk '!/awk/ && !/grep/ {print $1}'`
|
# for i in `ps -o pid,command ax | grep celery | awk '!/awk/ && !/grep/ {print $1}'`
|
||||||
# do
|
# do
|
||||||
# if [ "${i}" != "" ]; then
|
# if [ "${i}" != "" ]; then
|
||||||
|
@ -10,4 +8,6 @@ pkill -9 -f celery
|
||||||
# fi
|
# fi
|
||||||
# done
|
# done
|
||||||
|
|
||||||
# ps aux | grep celery | egrep -v grep | awk '{print $2}' | xargs kill -9
|
# ps aux | grep celery | egrep -v grep | awk '{print $2}' | xargs kill -9
|
||||||
|
|
||||||
|
pkill -9 -f celery
|
||||||
|
|
Loading…
Add table
Reference in a new issue