From d109a94a66c79c694c7c24a7e52b7258fe261249 Mon Sep 17 00:00:00 2001 From: Benjamin ter Kuile Date: Fri, 11 Jul 2014 11:58:51 +0200 Subject: [PATCH] Fix cap chmod on release path" --- config/deploy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/deploy.rb b/config/deploy.rb index 98564166..2b141766 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -45,7 +45,7 @@ namespace :deploy do task :restart do on roles(:app), in: :sequence, wait: 5 do # Your restart mechanism here, for example: - execute :chown, "-R www-data:www-data" + execute :chown, "-R www-data:www-data", release_path execute :touch, release_path.join('tmp/restart.txt') end end