From 990be5dbb37fc6fdac7079e1dbb7570d90c06563 Mon Sep 17 00:00:00 2001 From: Jimmy Berry Date: Fri, 27 Oct 2017 19:25:05 -0500 Subject: [PATCH] systemd/devel-list: allow three retry attempts to handle regular OBS crash. --- systemd/osrt-staging-bot-devel-list.service | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/systemd/osrt-staging-bot-devel-list.service b/systemd/osrt-staging-bot-devel-list.service index 7dadadc4..ae8b5876 100644 --- a/systemd/osrt-staging-bot-devel-list.service +++ b/systemd/osrt-staging-bot-devel-list.service @@ -7,5 +7,10 @@ User=osrt-staging-bot SyslogIdentifier=osrt-staging-bot ExecStart=/usr/bin/osrt-devel-project list -w +# API query regularly times out, but will be cached if called again. +Restart=on-failure +StartLimitInterval=1 hour +StartLimitBurst=3 + [Install] WantedBy=multi-user.target