Compare commits

..

3 Commits

Author SHA1 Message Date
David Dollar
a5e094353c 0.26.1 2011-11-10 15:02:19 -05:00
David Dollar
12720b4c12 fix colors during execution of single process 2011-11-10 15:02:09 -05:00
David Dollar
1c732a4658 add runit export to docs 2011-11-08 18:00:23 -05:00
5 changed files with 11 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
PATH
remote: .
specs:
foreman (0.26.0)
foreman (0.26.1)
term-ansicolor (~> 1.0.5)
thor (>= 0.13.6)

View File

@@ -42,8 +42,9 @@ class Foreman::Engine
end
def execute(name)
error "no such process: #{name}" unless procfile[name]
fork procfile[name]
error "no such process: #{name}" unless process = procfile[name]
process.color = next_color
fork process
trap("TERM") { puts "SIGTERM received"; terminate_gracefully }
trap("INT") { puts "SIGINT received"; terminate_gracefully }

View File

@@ -1,5 +1,5 @@
module Foreman
VERSION = "0.26.0"
VERSION = "0.26.1"
end

View File

@@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
.TH "FOREMAN" "1" "November 2011" "Foreman 0.25.0" "Foreman Manual"
.TH "FOREMAN" "1" "November 2011" "Foreman 0.26.0" "Foreman Manual"
.
.SH "NAME"
\fBforeman\fR \- manage Procfile\-based applications
@@ -85,6 +85,9 @@ bluepill
inittab
.
.IP "\(bu" 4
runit
.
.IP "\(bu" 4
upstart
.
.IP "" 0

View File

@@ -83,6 +83,8 @@ foreman currently supports the following output formats:
* inittab
* runit
* upstart
## INITTAB EXPORT