Skip to content

Commit fe7db99

Browse files
author
Toyo
authored
Update run.sh
1 parent 9d703f2 commit fe7db99

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

run.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
cd `dirname $0`
3-
python_ver=$(ls /usr/bin|grep -e "^python[23]\.[1-9]\+$"|tail -1)
4-
eval $(ps -ef | grep "[0-9] ${python_ver} server\\.py m" | awk '{print "kill "$2}')
3+
#python_ver=$(ls /usr/bin|grep -e "^python[23]\.[1-9]\+$"|tail -1)
4+
eval $(ps -ef | grep "[0-9] python server\\.py m" | awk '{print "kill "$2}')
55
ulimit -n 512000
6-
nohup ${python_ver} server.py m>> /dev/null 2>&1 &
6+
nohup python server.py m>> /dev/null 2>&1 &
77

0 commit comments

Comments
 (0)