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:
parent
69cec0c4f6
commit
f2fd9f897c
1 changed files with 1 additions and 0 deletions
|
@ -6,6 +6,7 @@ After=network.target
|
|||
|
||||
[Service]
|
||||
TasksMax=infinity
|
||||
Restart=on-failure
|
||||
ExecStart=/usr/sbin/kojid \
|
||||
--fg \
|
||||
--force-lock \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue