summaryrefslogtreecommitdiff
path: root/etc/zuul.conf-sample
diff options
context:
space:
mode:
authorJames E. Blair <jeblair@hp.com>2012-07-06 10:24:01 -0700
committerJames E. Blair <jeblair@hp.com>2012-07-06 10:31:57 -0700
commit5d5bc2b92e46e2824c2834e6b7daf894517fa954 (patch)
tree315d100c7148829c0629a36b8e82cfc223987f20 /etc/zuul.conf-sample
parent11700c3787c136939a86da0d4a78140a4e197000 (diff)
downloadzuul-5d5bc2b92e46e2824c2834e6b7daf894517fa954.tar.gz
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
Diffstat (limited to 'etc/zuul.conf-sample')
-rw-r--r--etc/zuul.conf-sample1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/zuul.conf-sample b/etc/zuul.conf-sample
index c1b2a191d..41f238684 100644
--- a/etc/zuul.conf-sample
+++ b/etc/zuul.conf-sample
@@ -12,3 +12,4 @@ sshkey=/home/jenkins/.ssh/id_rsa
layout_config=/etc/zuul/layout.yaml
log_config=/etc/zuul/logging.yaml
pidfile=/var/run/zuul/zuul.pid
+state_dir=/var/lib/zuul