Files
small-package/luci-app-ssr-mudb-server/root/usr/share/ssr_mudb_server/shadowsocks/run.sh
github-actions[bot] 16a922f897 update-09.24
2021-09-24 23:37:27 +08:00

6 lines
167 B
Bash

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