templates/apache/config/rubber/deploy-apache.rb in rubber-2.2.2 vs templates/apache/config/rubber/deploy-apache.rb in rubber-2.2.3
- old
+ new
@@ -50,10 +50,10 @@
rsudo "service apache2 stop || true"
end
desc "Starts the apache web server"
task :start, :roles => :apache do
- rsudo "service apache2 start"
+ rsudo "service apache2 status || service apache2 start"
end
desc "Restarts the apache web server"
task :restart, :roles => :apache do
serial_restart