recipiez 0.6.22 → 0.6.23

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module Recipiez
2
- VERSION = '0.6.22'
2
+ VERSION = '0.6.23'
3
3
  end
data/recipes/logrotate.rb CHANGED
@@ -32,7 +32,8 @@ Capistrano::Configuration.instance(true).load do
32
32
  task :move_log_dir_to_mnt do
33
33
  sudo "mkdir -p /mnt/application_logs/#{application}"
34
34
  sudo "chown -R #{user}:#{user} /mnt/application_logs/#{application}"
35
- sudo "mv /var/www/apps/#{application}/shared/log/ /mnt/application_logs/#{application}"
35
+ sudo "mv /var/www/apps/#{application}/shared/log/* /mnt/application_logs/#{application}"
36
+ sudo "rm -fr /var/www/apps/#{application}/shared/log"
36
37
  sudo "ln -s /mnt/application_logs/#{application} /var/www/apps/#{application}/shared/log"
37
38
  # Now need to deploy the app.
38
39
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 6
8
- - 22
9
- version: 0.6.22
8
+ - 23
9
+ version: 0.6.23
10
10
  platform: ruby
11
11
  authors:
12
12
  - Alastair Brunton