Fix cap chmod on release path"

This commit is contained in:
2014-07-11 11:58:51 +02:00
parent 9b25472832
commit d109a94a66
+1 -1
View File
@@ -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