ansible-role-kojid/templates/kojid.service.j2

23 lines
444 B
Plaintext
Raw Normal View History

2021-01-04 16:13:39 +00:00
[Unit]
Description=Koji build server
Documentation=https://docs.pagure.org/koji/server_howto/
After=network.target
[Service]
TasksMax=infinity
Restart=on-failure
ExecStart=/usr/sbin/kojid \
--fg \
--force-lock \
--verbose
ExecReload=/bin/kill -USR1 $MAINPID
2023-05-02 04:50:13 +00:00
{% if kojid_ulimits_conf %}
LimitNOFILE={{ kojid_ulimits_nofiles }}
LimitNOFILESoft={{ kojid_ulimits_nofiles }}
{% endif %}
2021-01-04 16:13:39 +00:00
[Install]
WantedBy=multi-user.target