[chef] Re: starting background process on windows


Chronological Thread 
  • From: Brad Knowles < >
  • To: " " < >
  • Cc: "< >" < >
  • Subject: [chef] Re: starting background process on windows
  • Date: Fri, 23 Aug 2013 10:20:31 -0500

Use chef to define a service, then have the service started by your chef run.

See http://docs.opscode.com/resource_service.html for more info.

-- 
Brad Knowles
Sent from my iPhone

On Aug 23, 2013, at 10:13 AM, "Florian Hehlen" < "> > wrote:

Hi,

 

Is there any help to be expected from chef or from an existing cookbook for starting background processes? I cannot find a way to start my server after deploying without having chef just hang there until I kill the server. I have tried a few different things: batch start command; ruby’s Process.spawn command. The best I get is a separate process but not one that is detached from the chef-client process.

 

Cheers,

Florian




Archive powered by MHonArc 2.6.16.

§