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 +1 -1
- data/cookbooks/runit/definitions/runit_service.rb +5 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
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
|
74
|
+
unless params[:project_dir] == params[:release_dir]
|
71
75
|
directory params[:services_run]
|
72
76
|
|
73
77
|
directory svc_run
|