configurable plugin min/pax port
This commit is contained in:
parent
e904705a49
commit
a0fa5b9f99
|
@ -106,5 +106,7 @@ func (c *config) pluginClient(path string) *plugin.Client {
|
||||||
var config plugin.ClientConfig
|
var config plugin.ClientConfig
|
||||||
config.Cmd = exec.Command(path)
|
config.Cmd = exec.Command(path)
|
||||||
config.Managed = true
|
config.Managed = true
|
||||||
|
config.MinPort = c.PluginMinPort
|
||||||
|
config.MaxPort = c.PluginMaxPort
|
||||||
return plugin.NewClient(&config)
|
return plugin.NewClient(&config)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue