Merge pull request #22 from davidpelaez/master

Fix bug calculating a group's port
This commit is contained in:
David Dollar
2014-04-29 07:49:33 -04:00
+1 -1
View File
@@ -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)