koji_builder: update service file with upstream improvements
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>
This commit is contained in:
parent
80d1cf1bed
commit
3325c17951
1 changed files with 4 additions and 2 deletions
|
@ -1,16 +1,18 @@
|
|||
[Unit]
|
||||
Description=Koji build server
|
||||
Documentation=https://fedoraproject.org/wiki/Koji/ServerHowTo
|
||||
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
|
||||
Restart=on-failure
|
||||
RestartSec=60s
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue