mirror of
https://github.com/wahyd4/forego.git
synced 2026-08-09 05:07:05 +10:00
Merge pull request #22 from davidpelaez/master
Fix bug calculating a group's port
This commit is contained in:
@@ -83,7 +83,7 @@ func runStart(cmd *Command, args []string) {
|
||||
port := flagPort + (idx * 100)
|
||||
ps := NewProcess(proc.Command, env)
|
||||
processes[proc.Name] = ps
|
||||
ps.Env["PORT"] = strconv.Itoa(flagPort + (idx * 1000))
|
||||
ps.Env["PORT"] = strconv.Itoa(port)
|
||||
ps.Root = filepath.Dir(flagProcfile)
|
||||
ps.Stdin = nil
|
||||
ps.Stdout = of.CreateOutlet(proc.Name, idx, false)
|
||||
|
||||
Reference in New Issue
Block a user