update cap settings

This commit is contained in:
2014-07-11 11:48:59 +02:00
parent af6fefc399
commit 98b6b36017
+6 -1
View File
@@ -10,6 +10,10 @@ set :repo_url, 'root@uflows.com:/var/git/qwaiter.git'
# Default deploy_to directory is /var/www/my_app
# set :deploy_to, '/var/www/my_app'
set :deploy_via, :remote_cache
set :branch, :master
set :user, 'root'
set :deploy_to, '/var/www/qwaiter'
# Default value for :scm is :git
# set :scm, :git
@@ -40,7 +44,8 @@ namespace :deploy do
task :restart do
on roles(:app), in: :sequence, wait: 5 do
# Your restart mechanism here, for example:
# execute :touch, release_path.join('tmp/restart.txt')
execute :chown, "-R www-data:www-data"
execute :touch, release_path.join('tmp/restart.txt')
end
end