update run.sh, set working dir
This commit is contained in:
parent
f78f5b56e3
commit
69d369268a
2 changed files with 2 additions and 2 deletions
2
run.sh
2
run.sh
|
@ -1,5 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd `dirname $0`
|
||||
eval $(ps -ef | grep "[0-9] python server\\.py" | awk '{print "kill "$2}')
|
||||
nohup python server.py >> ssserver.log 2>&1 &
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
cd `dirname $0`
|
||||
eval $(ps -ef | grep "[0-9] python server\\.py a" | awk '{print "kill "$2}')
|
||||
nohup python server.py a >> ssserver.log 2>&1 &
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue