Commit dd08ab4f authored by Paweł Wieczorek's avatar Paweł Wieczorek
Browse files

Restart scheduler on failure



This patch is a temporary work-around (famous last words). It should be
replaced with a restarting policy once LAVA services are separated in
Collabora deployment.

Signed-off-by: Paweł Wieczorek's avatarPaweł Wieczorek <pawiecz@collabora.com>
parent 1faccb34
......@@ -38,7 +38,9 @@ fi
/usr/bin/lava-server manage lava-publisher --level $LOGLEVEL --log-file - --host '*' --port 8001 &
/usr/bin/lava-server manage lava-scheduler --level $LOGLEVEL --log-file - $EVENT_URL $IPV6 &
while :; do
/usr/bin/lava-server manage lava-scheduler --level $LOGLEVEL --log-file - $EVENT_URL $IPV6
done &
if [ -z $WORKERS ]; then
WORKERS=4
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment