Permalink
Browse files

Add support for triggering deployment error resistance in Phusion Pas…

…senger Standalone
  • Loading branch information...
1 parent 03aea17 commit f0108080277edb1c9dfe0275115dcbf5c836bce9 @FooBarWidget FooBarWidget committed Oct 24, 2012
@@ -155,6 +155,10 @@ def parse_my_options
wrap_desc("Enable rolling restarts (Enterprise only)")) do
@options[:rolling_restarts] = true
end
+ opts.on("--resist-deployment-errors",
+ wrap_desc("Enable deployment error resistance (Enterprise only)")) do
+ @options[:resist_deployment_errors] = true
+ end
opts.on("--union-station-gateway HOST:PORT", String,
wrap_desc("Specify Union Station Gateway host and port")) do |value|
host, port = value.split(":", 2)
@@ -47,6 +47,7 @@ http {
<% if @options[:user] %>passenger_default_user <%= @options[:user] %>;<% end %>
<% if debugging? %>passenger_log_level 2;<% end %>
<% if @options[:rolling_restarts] %>passenger_rolling_restarts on;<% end %>
+ <% if @options[:resist_deployment_errors] %>passenger_resist_deployment_errors on;<% end %>
<% if @options[:union_station_gateway_address] %>
union_station_gateway_address <%= @options[:union_station_gateway_address] %>;

0 comments on commit f010808

Please sign in to comment.