update cap settings
This commit is contained in:
+6
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user