mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-30 08:50:55 +08:00
Add reload in so we can reload and have kojid finish any jobs and then restart and also add a 60s restart backoff time. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
19 lines
334 B
Desktop File
19 lines
334 B
Desktop File
[Unit]
|
|
Description=Koji build server
|
|
Documentation=https://docs.pagure.org/koji/server_howto/
|
|
|
|
After=network.target
|
|
|
|
[Service]
|
|
TasksMax=infinity
|
|
ExecStart=/usr/sbin/kojid \
|
|
--fg \
|
|
--force-lock \
|
|
--verbose
|
|
ExecReload=/bin/kill -USR1 $MAINPID
|
|
Restart=on-failure
|
|
RestartSec=60s
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|