more cap fixing
use https for gihub so no rights are needed explicitly tell the restart command as config does not run without sudo
This commit is contained in:
parent
90335ebdca
commit
1b2db4c0bb
|
@ -2,7 +2,7 @@
|
|||
lock '3.8.1'
|
||||
|
||||
set :application, 'webdev'
|
||||
set :repo_url, 'git@github.com:webdev-camp/webdev.camp.git'
|
||||
set :repo_url, 'https://github.com/webdev-camp/webdev.camp'
|
||||
|
||||
# Default deploy_to directory is /var/www/my_app_name
|
||||
set :deploy_to, '/var/www/vhosts/webdev.camp'
|
||||
|
@ -16,6 +16,8 @@ set :linked_files, fetch(:linked_files, []).push('config/database.yml', 'config/
|
|||
# Default value for default_env is {}
|
||||
# set :default_env, { path: "/opt/ruby/bin:$PATH" }
|
||||
|
||||
set :passenger_restart_command, 'passenger-config restart-app'
|
||||
|
||||
namespace :deploy do
|
||||
|
||||
after :restart, :clear_cache do
|
||||
|
|
Loading…
Reference in New Issue