tvd-runit 0.0.17 → 0.0.18
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 -5
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.18
|
@@ -20,14 +20,16 @@
|
|
20
20
|
define :runit_service, :only_if => false, :options => Hash.new, :env => Hash.new, :activate => true do
|
21
21
|
params[:template_name] ||= params[:name]
|
22
22
|
|
23
|
-
services_current = "#{
|
24
|
-
services_run = "#{
|
25
|
-
services_defined = "#{
|
23
|
+
services_current = "#{node[:project_dir]}/#{node[:app_dir]}/service"
|
24
|
+
services_run = "#{node[:project_dir]}/service"
|
25
|
+
services_defined = "#{node[:release_dir]}/service"
|
26
26
|
|
27
27
|
svc_defined = "#{services_defined}/#{params[:name]}"
|
28
28
|
svc_run = "#{services_run}/#{params[:name]}"
|
29
29
|
svc_current = "#{services_current}/#{params[:name]}"
|
30
30
|
|
31
|
+
directory services_defined
|
32
|
+
|
31
33
|
directory svc_defined
|
32
34
|
|
33
35
|
unless params[:activate]
|
@@ -76,8 +78,6 @@ define :runit_service, :only_if => false, :options => Hash.new, :env => Hash.new
|
|
76
78
|
end
|
77
79
|
|
78
80
|
unless params[:project_dir] == params[:release_dir] || params[:activate] == false
|
79
|
-
directory services_run
|
80
|
-
|
81
81
|
directory svc_run
|
82
82
|
|
83
83
|
directory "#{svc_run}/log"
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tvd-runit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 59
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 18
|
10
|
+
version: 0.0.18
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Tom Bombadil
|