Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f34f161899 | ||
|
|
191581fe85 | ||
|
|
b98d558bed |
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
PATH
|
PATH
|
||||||
remote: .
|
remote: .
|
||||||
specs:
|
specs:
|
||||||
foreman (0.14.0)
|
foreman (0.15.0)
|
||||||
term-ansicolor (~> 1.0.5)
|
term-ansicolor (~> 1.0.5)
|
||||||
thor (>= 0.13.6)
|
thor (>= 0.13.6)
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
## Manual
|
## Manual
|
||||||
|
|
||||||
|
http://blog.daviddollar.org/2011/05/06/introducing-foreman.html
|
||||||
|
|
||||||
See the [man page](http://ddollar.github.com/foreman) for usage.
|
See the [man page](http://ddollar.github.com/foreman) for usage.
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ class Foreman::Engine
|
|||||||
end
|
end
|
||||||
|
|
||||||
trap("TERM") { puts "SIGTERM received"; kill_all("TERM") }
|
trap("TERM") { puts "SIGTERM received"; kill_all("TERM") }
|
||||||
trap("INT") { puts "SIGINT received"; kill_all("INT") }
|
trap("INT") { puts "SIGINT received"; kill_all("TERM") }
|
||||||
|
|
||||||
watch_for_termination
|
watch_for_termination
|
||||||
end
|
end
|
||||||
@@ -66,7 +66,7 @@ class Foreman::Engine
|
|||||||
fork processes[name], options
|
fork processes[name], options
|
||||||
|
|
||||||
trap("TERM") { puts "SIGTERM received"; kill_all("TERM") }
|
trap("TERM") { puts "SIGTERM received"; kill_all("TERM") }
|
||||||
trap("INT") { puts "SIGINT received"; kill_all("INT") }
|
trap("INT") { puts "SIGINT received"; kill_all("TERM") }
|
||||||
|
|
||||||
watch_for_termination
|
watch_for_termination
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
module Foreman
|
module Foreman
|
||||||
|
|
||||||
VERSION = "0.14.0"
|
VERSION = "0.15.0"
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user