Add runit export format.

Fix #28
This commit is contained in:
Matthijs Langenberg
2011-11-08 23:50:33 +01:00
parent 615aada17e
commit 676d3ff8d1
15 changed files with 142 additions and 5 deletions
+2 -2
View File
@@ -28,9 +28,9 @@ def write_foreman_config(app)
end
end
def write_procfile(procfile="Procfile")
def write_procfile(procfile="Procfile", alpha_env="")
File.open(procfile, "w") do |file|
file.puts "alpha: ./alpha"
file.puts "alpha: ./alpha" + " #{alpha_env}".rstrip
file.puts "\n"
file.puts "bravo:\t./bravo"
end