koji_builder / kojid: on failure, restart kojid

kojid from time to time hits OOM-killer and is killed, making the
builder basically never checkin or run builds until a manual restart.
Setting this should restart it after such a OOM event and hopefully keep
it processing.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2020-09-01 10:19:18 -07:00 committed by kevin
parent 69cec0c4f6
commit f2fd9f897c

View file

@ -6,6 +6,7 @@ After=network.target
[Service]
TasksMax=infinity
Restart=on-failure
ExecStart=/usr/sbin/kojid \
--fg \
--force-lock \