Method: Chef::Provider::Service::Arch#initialize
- Defined in:
- lib/chef/provider/service/arch.rb
#initialize(new_resource, run_context) ⇒ Arch
Returns a new instance of Arch.
24 25 26 27 |
# File 'lib/chef/provider/service/arch.rb', line 24 def initialize(new_resource, run_context) super @init_command = "/etc/rc.d/#{@new_resource.service_name}" end |