Keep the same order between shared_dirs and setup

This commit is contained in:
gregoirenovel 2018-10-24 14:03:57 +02:00
parent 883c981165
commit fda1218a5f

View file

@ -39,14 +39,14 @@ task :setup do
command %[mkdir -p "#{deploy_to}/shared/log"] command %[mkdir -p "#{deploy_to}/shared/log"]
command %[chmod g+rx,u+rwx "#{deploy_to}/shared/log"] command %[chmod g+rx,u+rwx "#{deploy_to}/shared/log"]
command %[mkdir -p "#{deploy_to}/shared/sockets"]
command %[chmod g+rx,u+rwx "#{deploy_to}/shared/sockets"]
command %[mkdir -p "#{deploy_to}/shared/tmp/pids"] command %[mkdir -p "#{deploy_to}/shared/tmp/pids"]
command %[chmod g+rx,u+rwx "#{deploy_to}/shared/tmp/pids"] command %[chmod g+rx,u+rwx "#{deploy_to}/shared/tmp/pids"]
command %[mkdir -p "#{deploy_to}/shared/tmp/cache"] command %[mkdir -p "#{deploy_to}/shared/tmp/cache"]
command %[chmod g+rx,u+rwx "#{deploy_to}/shared/tmp/cache"] command %[chmod g+rx,u+rwx "#{deploy_to}/shared/tmp/cache"]
command %[mkdir -p "#{deploy_to}/shared/sockets"]
command %[chmod g+rx,u+rwx "#{deploy_to}/shared/sockets"]
end end
namespace :yarn do namespace :yarn do