Permalink
Browse files

make 'PORT=5000 foreman start' work

  • Loading branch information...
1 parent 0b0324f commit 9b2987c3f0427b0d80b000ba4f171a67ec33675f @atog atog committed May 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/foreman/engine.rb
View
@@ -84,7 +84,7 @@ def spawn_processes
end
def base_port
- options[:port] || environment["PORT"] || 5000
+ options[:port] || environment["PORT"] || ENV["PORT"] || 5000
end
def kill_all(signal="SIGTERM")

0 comments on commit 9b2987c

Please sign in to comment.