fix the missing pid argument

This commit is contained in:
Max Lv
2013-04-25 08:57:24 +08:00
parent be4e86ffa8
commit 988ef026a3
3 changed files with 5 additions and 4 deletions
@@ -208,7 +208,8 @@ public class ShadowsocksService extends Service {
@Override
public void run() {
final String cmd = String.format(BASE +
"shadowsocks -s \"%s\" -p \"%d\" -l \"%d\" -k \"%s\" -m \"%s\"",
"shadowsocks -s \"%s\" -p \"%d\" -l \"%d\" -k \"%s\" -m \"%s\" -f "
+ BASE + "shadowsocks.pid",
appHost, remotePort, localPort, sitekey, encMethod);
System.exec(cmd);
}