Browse Source

update run.sh, set working dir

dev
breakwa11 9 years ago
parent
commit
69d369268a
  1. 2
      run.sh
  2. 2
      shadowsocks/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 &

2
shadowsocks/run.sh

@ -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…
Cancel
Save