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


Chronological Thread 
  • From: "Julian C. Dunn" < >
  • To:
  • Subject: [chef] Re: Re: starting background process on windows
  • Date: Tue, 27 Aug 2013 00:39:56 -0400

Florian,

We used to use winsw to start up Chef as a service on Windows. I think this is still the mechanism used by Jenkins.

https://github.com/kohsuke/winsw

I think srvany is deprecated on Windows; the article Noah sent later is for Windows NT (!)

- Julian

On Sat, Aug 24, 2013 at 3:52 AM, Florian Hehlen < " target="_blank"> > wrote:
Daniel,

Thanks for the links. I got over my initial issue with a simple Process.spawn followed by Process.detach. This is obviously not enough for a production environment. But at the moment I am in the startup phase of the project and getting up and going is more important than making things bullet-proof. 

I will definitely take a look at the cookbooks you suggest. I am still new to Ruby and have to admit struggle when looking at other people's code. This is part of why my first attempts were not working. I also find myself very alone in the windows/chef world which does not help when looking for online help.

cheers,
FLorian

--
[ Julian C. Dunn < " target="_blank"> >          * Sorry, I'm    ]
[ WWW: http://www.aquezada.com/staff/julian    * only Web 1.0  ]
[ gopher://sdf.org/1/users/keymaker/           * compliant!    ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9       ]



Archive powered by MHonArc 2.6.16.

§