tvd-runit 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.3
1
+ 0.0.4
@@ -19,7 +19,6 @@
19
19
 
20
20
  define :runit_service, :services_defined => nil, :only_if => false, :options => Hash.new do
21
21
  params[:template_name] ||= params[:name]
22
- params[:restart] ||= "restart"
23
22
  params[:env] ||= {}
24
23
 
25
24
  svdir = "#{params[:services_defined]}/#{params[:name]}"
@@ -64,17 +63,4 @@ define :runit_service, :services_defined => nil, :only_if => false, :options =>
64
63
  variables :value => value
65
64
  end
66
65
  end
67
-
68
- execute "#{params[:restart]}_#{params[:name]}_service" do
69
- command "sv #{params[:restart]} #{params[:name]}"
70
- subscribes :run, resources(:cookbook_file => "#{svdir}/run"), :delayed
71
- action :nothing
72
- end
73
-
74
- execute "hup_#{params[:name]}_log" do
75
- command "sv hup #{params[:name]}/log"
76
- subscribes :run, resources(:cookbook_file => "#{svdir}/log/run")
77
- subscribes :run, resources(:template => "#{svdir}/log/config")
78
- action :nothing
79
- end
80
66
  end
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.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: