破娃酱
8 years ago
2 changed files with 2 additions and 2 deletions
@ -1,5 +1,5 @@ |
|||
#!/bin/bash |
|||
|
|||
python_ver=$(ls /usr/bin|grep -e "^python[23]\.[1-9]\+$"|tail -1) |
|||
eval $(ps -ef | grep "[0-9] ${python_ver} server\\.py a" | awk '{print "kill "$2}') |
|||
eval $(ps -ef | grep "[0-9] ${python_ver} server\\.py a" | awk '{print "kill "$2}') |
|||
|
|||
|
@ -1,5 +1,5 @@ |
|||
#!/bin/bash |
|||
|
|||
python_ver=$(ls /usr/bin|grep -e "^python[23]\.[1-9]\+$"|tail -1) |
|||
eval $(ps -ef | grep "[0-9] ${python_ver} server\\.py m" | awk '{print "kill "$2}') |
|||
eval $(ps -ef | grep "[0-9] ${python_ver} server\\.py m" | awk '{print "kill "$2}') |
|||
|
|||
|
Loading…
Reference in new issue