[Buildbot-devel] background linux/python services

Stefan Seefeld seefeld at sympatico.ca
Fri Aug 27 13:07:19 UTC 2010


  On 08/27/2010 08:54 AM, Lee Jones wrote:
>
> Hi Guys,
>
> Sorry to be a pain, but I was wondering if any one had any suggestions:
>
> A part of our build slave is to run one of our python scripts called 
> (release.py) using shellCommand, the purpose of this is to simulate 
> how the release team will actually release the code to the production 
> system.  My release.py runs various commands then starts up a few 
> linux services and sets them to be running in the background, 
> release.py then exits with a 0 exit status.  However, the build slave 
> still thinks that release.py is running, because of the background 
> services, even though it has exited.
>

Did you correctly demonize the background services (set up process 
groups etc. for them to run fully independently) ?

     Stefan


-- 

       ...ich hab' noch einen Koffer in Berlin...





More information about the devel mailing list