|
@@ -6,6 +6,7 @@ import (
|
|
|
"os/exec"
|
|
"os/exec"
|
|
|
"path/filepath"
|
|
"path/filepath"
|
|
|
"runtime"
|
|
"runtime"
|
|
|
|
|
+ "time"
|
|
|
|
|
|
|
|
_ "github.com/v2ray/v2ray-core/app/router/rules"
|
|
_ "github.com/v2ray/v2ray-core/app/router/rules"
|
|
|
"github.com/v2ray/v2ray-core/common/log"
|
|
"github.com/v2ray/v2ray-core/common/log"
|
|
@@ -81,6 +82,8 @@ func InitializeServer(configFile string) error {
|
|
|
return err
|
|
return err
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ time.Sleep(time.Second)
|
|
|
|
|
+
|
|
|
runningServers = append(runningServers, proc)
|
|
runningServers = append(runningServers, proc)
|
|
|
|
|
|
|
|
return nil
|
|
return nil
|