tvd-runit 0.0.6 → 0.0.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.0.6
1
+ 0.0.7
@@ -21,6 +21,10 @@ define :runit_service, :services_defined => nil, :only_if => false, :options =>
21
21
  params[:template_name] ||= params[:name]
22
22
  params[:env] ||= {}
23
23
 
24
+ services_current = "#{params[:project_dir]}/current/service"
25
+ services_run = "#{params[:project_dir]}/service"
26
+ services_defined = "#{params[:release_dir]}/service"
27
+
24
28
  svc_defined = "#{params[:services_defined]}/#{params[:name]}"
25
29
  svc_run = "#{params[:services_run]}/#{params[:name]}"
26
30
  svc_current = "#{params[:services_current]}/#{params[:name]}"
@@ -67,7 +71,7 @@ define :runit_service, :services_defined => nil, :only_if => false, :options =>
67
71
  end
68
72
  end
69
73
 
70
- unless svc_defined == svc_run
74
+ unless params[:project_dir] == params[:release_dir]
71
75
  directory params[:services_run]
72
76
 
73
77
  directory svc_run
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tvd-runit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: