PR#3040: Restart kojid and kojira services automatically
Merges #3040 https://pagure.io/koji/pull-request/3040 Fixes #3084 https://pagure.io/koji/issue/3084
This commit is contained in:
commit
9400ed2aa7
2 changed files with 4 additions and 0 deletions
|
|
@ -10,6 +10,8 @@ ExecStart=/usr/sbin/kojid \
|
|||
--force-lock \
|
||||
--verbose
|
||||
ExecReload=/bin/kill -USR1 $MAINPID
|
||||
Restart=on-failure
|
||||
RestartSec=60s
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
|||
|
|
@ -9,6 +9,8 @@ ExecStart=/usr/sbin/kojira \
|
|||
--fg \
|
||||
--force-lock \
|
||||
--verbose
|
||||
Restart=on-failure
|
||||
RestartSec=60s
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue