shadowsocks/run.sh
breakwa11 c73127d858 insert a reload step
main thread run 'thread_db' directly
insert a 'ulimit' command before run the server
2015-10-10 19:47:50 +08:00

6 lines
170 B
Bash

#!/bin/bash
cd `dirname $0`
eval $(ps -ef | grep "[0-9] python server\\.py m" | awk '{print "kill "$2}')
ulimit -n 131072
nohup python server.py m>> ssserver.log 2>&1 &