breakwa11
9 years ago
2 changed files with 2 additions and 2 deletions
@ -1,5 +1,5 @@ |
|||||
#!/bin/bash |
#!/bin/bash |
||||
|
cd `dirname $0` |
||||
eval $(ps -ef | grep "[0-9] python server\\.py" | awk '{print "kill "$2}') |
eval $(ps -ef | grep "[0-9] python server\\.py" | awk '{print "kill "$2}') |
||||
nohup python server.py >> ssserver.log 2>&1 & |
nohup python server.py >> ssserver.log 2>&1 & |
||||
|
|
||||
|
@ -1,5 +1,5 @@ |
|||||
#!/bin/bash |
#!/bin/bash |
||||
|
cd `dirname $0` |
||||
eval $(ps -ef | grep "[0-9] python server\\.py a" | awk '{print "kill "$2}') |
eval $(ps -ef | grep "[0-9] python server\\.py a" | awk '{print "kill "$2}') |
||||
nohup python server.py a >> ssserver.log 2>&1 & |
nohup python server.py a >> ssserver.log 2>&1 & |
||||
|
|
||||
|
Loading…
Reference in new issue