@@ -184,10 +184,10 @@ func _main(background context.Context, args []string) int {
|
|||||||
go shadowsocksLooper.Run(ctx, restartShadowsocks, wg)
|
go shadowsocksLooper.Run(ctx, restartShadowsocks, wg)
|
||||||
|
|
||||||
if allSettings.TinyProxy.Enabled {
|
if allSettings.TinyProxy.Enabled {
|
||||||
<-restartTinyproxy
|
restartTinyproxy <- struct{}{}
|
||||||
}
|
}
|
||||||
if allSettings.ShadowSocks.Enabled {
|
if allSettings.ShadowSocks.Enabled {
|
||||||
<-restartShadowsocks
|
restartShadowsocks <- struct{}{}
|
||||||
}
|
}
|
||||||
|
|
||||||
go func() {
|
go func() {
|
||||||
|
|||||||
Reference in New Issue
Block a user