If you're running `kojid` or `kojira` on the same host as as the koji-hub, it is helpful to have these startup after the `httpd.service` has loaded.
19 lines
411 B
Desktop File
19 lines
411 B
Desktop File
[Unit]
|
|
Description=Koji build server
|
|
Documentation=https://docs.pagure.org/koji/server_howto/
|
|
|
|
# If the koji-hub is on this host, httpd.service is needed first
|
|
After=network.target httpd.service
|
|
|
|
[Service]
|
|
ExecStart=/usr/sbin/kojid \
|
|
--fg \
|
|
--force-lock \
|
|
--verbose
|
|
ExecReload=/bin/kill -USR1 $MAINPID
|
|
Restart=on-failure
|
|
RestartSec=60s
|
|
PrivateTmp=true
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|