update pdnsd
This commit is contained in:
@@ -288,8 +288,8 @@ class ShadowsocksNatService extends Service with BaseService {
|
||||
ab.append("killall -9 ss-local")
|
||||
ab.append("kill -9 `cat " + Path.BASE + "ss-tunnel.pid`")
|
||||
ab.append("killall -9 ss-tunnel")
|
||||
ab.append("kill -9 `cat " + Path.BASE + "pdnsd.pid`")
|
||||
ab.append("killall -9 pdnsd")
|
||||
ab.append("kill -15 `cat " + Path.BASE + "pdnsd.pid`")
|
||||
ab.append("killall -15 pdnsd")
|
||||
|
||||
Console.runRootCommand(ab.toArray)
|
||||
}
|
||||
|
||||
@@ -263,8 +263,8 @@ class ShadowsocksVpnService extends VpnService with BaseService {
|
||||
ab.append("killall -9 ss-local")
|
||||
ab.append("kill -9 `cat " + Path.BASE + "tun2socks.pid`")
|
||||
ab.append("killall -9 tun2socks")
|
||||
ab.append("kill -9 `cat " + Path.BASE + "pdnsd.pid`")
|
||||
ab.append("killall -9 pdnsd")
|
||||
ab.append("kill -15 `cat " + Path.BASE + "pdnsd.pid`")
|
||||
ab.append("killall -15 pdnsd")
|
||||
|
||||
Console.runCommand(ab.toArray)
|
||||
}
|
||||
|
||||
@@ -115,7 +115,7 @@ object ConfigUtils {
|
||||
| preset = on;
|
||||
| include = %s;
|
||||
| policy = excluded;
|
||||
| timeout = 3;
|
||||
| timeout = 2;
|
||||
|}
|
||||
|
|
||||
|server {
|
||||
@@ -197,4 +197,4 @@ object ConfigUtils {
|
||||
new Config(isGlobalProxy, isGFWList, isBypassApps, isTrafficStat, isUdpDns, profileName, proxy,
|
||||
sitekey, encMethod, proxiedAppString, remotePort, localPort)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user