update ulimit -n

This commit is contained in:
Max Lv
2014-12-13 19:51:21 +08:00
parent e71db2160e
commit f258de36d7
@@ -402,6 +402,7 @@ class ShadowsocksNatService extends Service with BaseService {
val init_sb = new ArrayBuffer[String]
val http_sb = new ArrayBuffer[String]
init_sb.append("ulimit -n 4096")
init_sb.append(Utils.getIptables + " -t nat -F OUTPUT")
val cmd_bypass = Utils.getIptables + CMD_IPTABLES_RETURN