[Buildbot-devel] Any way to know if checkconfig is being run?
David Froger
david.froger at inria.fr
Tue Feb 11 19:08:20 UTC 2014
Hi Richard,
When doing:
$ buildbot checkconfig
sys.argv is:
['/path/to/buildbot', 'checkconfig']
Hope it help,
David
Quoting Richard O'Grady (2014-02-11 19:48:23)
> Hi,
>
> Is there an easy way to know if buildbot is executing the config file in
> checkconfig mode, versus start/restart?
>
> The reason I ask is that I am attaching a service to buildbot's reactor in our
> master.cfg which listens on a particular port. If buildbot is already running,
> this fails.
> So I want to ignore the port-already-in-use exception if we're doing a
> checkconfig but raise the exception if it fails during a restart.
>
> Thanks!
> // richard
More information about the devel
mailing list