lib/nginxtra/actions/start.rb in nginxtra-1.2.6.7 vs lib/nginxtra/actions/start.rb in nginxtra-1.2.6.8
- old
+ new
@@ -10,11 +10,10 @@
# configuration is correct, and finally start nginx and note the
# start time.
def start
without_force do
compile
- install
end
return no_need_to_start unless should_start?
save_config_files
start_nginx
@@ -22,14 +21,9 @@
end
# Invoke nginx compilation, to ensure it is up to date.
def compile
Nginxtra::Actions::Compile.new(@thor, @config).compile
- end
-
- # Invoke nginxtra installation, but only if the user allows it.
- def install
- Nginxtra::Actions::Install.new(@thor, @config).optional_install
end
# Save nginx config files to the proper config file path.
def save_config_files
files = @config.files