[Buildbot-devel] Service script for redhat/centos/fedora distros

Bailey, Darragh dbailey at hp.com
Thu Apr 9 13:34:24 UTC 2009


I've been meaning to create a service script for buildbot for myself for some time now, since I would like machines that are buildslaves to automatically reconnect when they are rebooted.

But I was wondering if such a service script has already been created? Didn't see one in the contrib area.

If not, would the following features be useful to others:

Config file split into sections
Main section defines common parameters and values
Each other section defines the following
  base_dir : base directory to start buildbot under
  build_user : user to start buildbot under

Service script would loop through each section not called main/global and would start the buildbot instance under that directory and record the pid file under /var/run/buildbot/*.pid

I'm assuming here that there is at least some benefit in being able to run multiple separate slave instances on the same system. I won't use it personnally, but if it makes it more useful and results in it being included in the contrib area then that's good, right?

--
Regards,
Darragh Bailey

Systems Software Engineer
Hewlett Packard Galway Ltd.

Postal Address:    Hewlett Packard Galway Limited, Ballybrit Business Park, Galway
Registered Office: Hewlett Packard Galway Limited, 63-74 Sir John Rogerson's Quay Dublin 2
Registered Number: 361933 



More information about the devel mailing list