Default scheduler pid file path to zuul-scheduler

Now that we are calling this daemon 'zuul-scheduler' we should default
its pid path to /var/run/zuul-scheduler/zuul-scheduler.pid.

Change-Id: I4dd263dc34def5b41a926cf5248f7cc35b3c5d9f
This commit is contained in:
Clark Boylan 2017-02-20 16:26:43 -05:00
parent 4cece6c475
commit b80fae087a
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,7 @@ def main():
if scheduler.config.has_option('zuul', 'pidfile'):
pid_fn = os.path.expanduser(scheduler.config.get('zuul', 'pidfile'))
else:
pid_fn = '/var/run/zuul/zuul.pid'
pid_fn = '/var/run/zuul-scheduler/zuul-scheduler.pid'
pid = pid_file_module.TimeoutPIDLockFile(pid_fn, 10)
if scheduler.args.nodaemon: