[users at bb.net] How to check worker?
Pierre Tardy
tardyp at gmail.com
Fri Mar 31 14:45:50 UTC 2017
Hi Chris,
For me, this is a task you want to give to systemd or supervisord.
If you still want to do this manually, twistd sets a .pid file in the
working directory.
On linux, you can just use something like test -d /proc/`cat twistd.pid`
On Fri, Mar 31, 2017 at 4:30 PM Chris Spencer <chrisspen at gmail.com> wrote:
> How do you check programmatically to see if a worker is running?
>
> My worker keeps getting sigkilled, and it's unclear why, so I'd like to
> create a cron job to check to see if it's running, and if it's stopped, to
> restart buildbot. However, buildbot-worker doesn't have a `status
> _______________________________________________
> users mailing list
> users at buildbot.net
> https://lists.buildbot.net/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20170331/2949d559/attachment.html>
More information about the users
mailing list