itrigga-cap_deploy 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.6
1
+ 0.1.7
@@ -84,7 +84,7 @@ configuration.load do
84
84
  end
85
85
 
86
86
  task :resymlink_monit do
87
- monit_file = "#{web_dir}/config/monit/monit.#{File.basename(itrigga_config_file)}.config"
87
+ monit_file = "#{web_dir}/config/monit/monit.`readlink /etc/itrigga_config_file`.config"
88
88
  std_monit_file = "/etc/monit/conf.d/#{application_stub}"
89
89
  puts "re-symlinking monit config"
90
90
  run "(test -L #{std_monit_file} && #{sudo} rm #{std_monit_file}) || echo 'no existing link'"
@@ -104,7 +104,7 @@ configuration.load do
104
104
  end
105
105
 
106
106
  task :resymlink_logrotate do
107
- logrotate_config_file = "#{web_dir}/config/log_rotate/log_rotate.#{File.basename(itrigga_config_file)}.config"
107
+ logrotate_config_file = "#{web_dir}/config/log_rotate/log_rotate.`readlink /etc/itrigga_config_file`.config"
108
108
  std_logrotate_file = "/etc/logrotate.d/#{application_stub}"
109
109
  puts "re-symlinking logrotate config"
110
110
  run "(test -L #{std_logrotate_file} && #{sudo} rm #{std_logrotate_file}) || echo nothing to remove"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itrigga-cap_deploy
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 6
10
- version: 0.1.6
9
+ - 7
10
+ version: 0.1.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Al Davidson