Fix cap chmod on release path"
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user