Use full-reconfigure to reload zuul-scheduler

Depends-On: https://review.opendev.org/c/windmill/windmill/+/798005
Change-Id: Ia1c9af51f4e0d1032ae844b7c97f37841c3ffcef
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2021-06-24 14:02:47 -04:00
parent 40ba59d89e
commit 98e276dfd1

View File

@ -8,7 +8,7 @@ Group=zuul
User=zuul User=zuul
ExecStart={{ zuul_pip_virtualenv | default('/usr/local') }}/bin/zuul-scheduler -f ExecStart={{ zuul_pip_virtualenv | default('/usr/local') }}/bin/zuul-scheduler -f
ExecStop={{ zuul_pip_virtualenv | default('/usr/local') }}/bin/zuul-scheduler stop ExecStop={{ zuul_pip_virtualenv | default('/usr/local') }}/bin/zuul-scheduler stop
ExecReload=/bin/kill -HUP $MAINPID ExecReload={{ zuul_pip_virtualenv | default('/usr/local') }}/bin/zuul-scheduler full-reconfigure
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target