lib/deprec/recipes/app/passenger.rb in deprec-2.1.1 vs lib/deprec/recipes/app/passenger.rb in deprec-2.1.4

- old
+ new

@@ -199,10 +199,10 @@ top.deprec.web.reload end desc "Restart Application" task :restart, :roles => :app do - run "touch #{current_path}/tmp/restart.txt" + run "#{sudo} touch #{current_path}/tmp/restart.txt" end desc "Restart Apache" task :restart_apache, :roles => :passenger do run "#{sudo} /etc/init.d/apache2 restart"