From 28a5ee6fcf538de331db54cdd7980d18453026ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Wed, 17 Feb 2016 15:02:50 +0100 Subject: Update Capistrano configuration for symfony3 --- app/config/capistrano/deploy.rb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'app/config') diff --git a/app/config/capistrano/deploy.rb b/app/config/capistrano/deploy.rb index c2562965..f15eef30 100644 --- a/app/config/capistrano/deploy.rb +++ b/app/config/capistrano/deploy.rb @@ -1,6 +1,10 @@ # config valid only for current version of Capistrano lock '3.4.0' +set :log_path, "var/logs" +set :cache_path, "var/cache" +set :symfony_console_path, 'bin/console' + set :application, 'wallabag' set :repo_url, 'git@github.com:wallabag/wallabag.git' @@ -16,8 +20,7 @@ set :log_level, :info set :composer_install_flags, '--no-dev --prefer-dist --no-interaction --optimize-autoloader' set :linked_files, %w{app/config/parameters.yml} -set :linked_dirs, %w{app/logs web/uploads data} - +set :linked_dirs, [fetch(:log_path), "var/sessions", "web/uploads", "data"] set :keep_releases, 3 after 'deploy:finishing', 'deploy:cleanup' -- cgit v1.2.3