configurable plugin min/pax port

This commit is contained in:
Mitchell Hashimoto 2013-06-11 11:08:21 -07:00
parent e904705a49
commit a0fa5b9f99
1 changed files with 2 additions and 0 deletions

View File

@ -106,5 +106,7 @@ func (c *config) pluginClient(path string) *plugin.Client {
var config plugin.ClientConfig
config.Cmd = exec.Command(path)
config.Managed = true
config.MinPort = c.PluginMinPort
config.MaxPort = c.PluginMaxPort
return plugin.NewClient(&config)
}