[chef] RE: Re: starting background process on windows


Chronological Thread 
  • From: "Florian Hehlen" < >
  • To: < >
  • Subject: [chef] RE: Re: starting background process on windows
  • Date: Fri, 23 Aug 2013 17:58:22 +0200

Brad,

 

Unless I miss-understand, this resource is for controlling applications that can already run as services. I have a plain java executable that I want to spawn and fork. I do not see how I can do this.

 

Cheers,

Florian

 

From: Brad Knowles [mailto:
Sent: 23 August 2013 17:21
To:
Cc: < >
Subject: [chef] Re: starting background process on windows

 

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.

§