commit | 5d5bc2b92e46e2824c2834e6b7daf894517fa954 | [log] [tgz] |
---|---|---|
author | James E. Blair <jeblair@hp.com> | Fri Jul 06 10:24:01 2012 -0700 |
committer | James E. Blair <jeblair@hp.com> | Fri Jul 06 10:31:57 2012 -0700 |
tree | 315d100c7148829c0629a36b8e82cfc223987f20 | |
parent | 11700c3787c136939a86da0d4a78140a4e197000 [diff] |
Add graceful exit. A SIGUSR1 will cause zuul to queue new events, wait for existing jobs to finish, then save the queue and exit. It will likely take quite a while to complete (perhaps an hour), so it's not implemented as a SIGTERM handler. Can be used in an init script to implement a graceful restart. Change-Id: I09fce571e971f16b5d20c5d69d595a05c7f6a4ba