Add a kojid.service that overrides the upstream one and sets TasksMax to infinity.

We will want to drop this once upstream has added this.
This hopefully fixes kernel and other package builds that have been failing with anoying fork errors.
This commit is contained in:
Kevin Fenzi 2016-09-02 18:12:42 +00:00
parent 42046ebafa
commit 2d8adc0f20
2 changed files with 23 additions and 0 deletions

View file

@ -0,0 +1,15 @@
[Unit]
Description=Koji build server
Documentation=https://fedoraproject.org/wiki/Koji/ServerHowTo
After=network.target
[Service]
TasksMax=infinity
ExecStart=/usr/sbin/kojid \
--fg \
--force-lock \
--verbose
[Install]
WantedBy=multi-user.target

View file

@ -120,6 +120,14 @@
tags:
- koji_builder
- name: override kojid.service file to set TasksMax to unlimited
file: src=kojid.service dest=/etc/systemd/system/kojid.conf
notify:
- reload systemd
- restart kojid
tags:
- koji_builder
# setup for oz/imagefactory
- name: make .psphere dir
file: state=directory path=/root/.psphere mode=775 owner=root group=root