- From: Daniel DeLeo <
>
- To:
- Subject: [chef] Re: Point of service resource *_command attrs?
- Date: Fri, 21 Nov 2014 13:42:25 -0800
On Friday, November 21, 2014 at 1:33 PM, Jeff Blaine wrote:
>
I can't figure out what the *_command attributes are actually for.
>
>
Setting init_command, start_command ... etc... to a value seems
>
pointless when the chosen underlying provider has all of its hardcoded
>
information that it uses.
>
>
service 'foo' do
>
init_command '/bin/true'
>
start_command '/bin/true'
>
action [:enable, :start]
>
end
>
>
==> "unable to locate the init.d script!"
>
>
Any ideas?
Probably need to set the status command so chef can tell whether it needs to
start the service. Also, the enable action may be problematic if you’re not
following your init system’s conventions.
>
>
--
>
Jeff Blaine
>
kickflop.net (http://kickflop.net)
>
PGP/GnuPG Key ID: 0x0C8EDD02
--
Daniel DeLeo
Archive powered by MHonArc 2.6.16.