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:
parent
42046ebafa
commit
2d8adc0f20
2 changed files with 23 additions and 0 deletions
15
roles/koji_builder/files/kojid.service
Normal file
15
roles/koji_builder/files/kojid.service
Normal 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
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue