diff --git a/config/deploy.rb b/config/deploy.rb index 756e7bae..d514bf75 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -37,7 +37,7 @@ task deploy: :environment do invoke :notify_errbit to :launch do - queue "touch #{deploy_to}/tmp/restart.txt" + queue "sudo /etc/init.d/apache2 restart" end invoke :'deploy:cleanup'