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