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