Skip to content

Commit

Permalink
Increase wait-init-complete timeout (#6109)
Browse files Browse the repository at this point in the history
When a host starts, the systemd service xapi-wait-init-complete waiting
on the creation of the xapi init cookie file may fail on timeout for a
matter of seconds. This patch adds 1 minute (300 seconds total) to the
timeout passed to the script xapi-wait-init-complete.
  • Loading branch information
psafont authored Dec 6, 2024
2 parents 87927f1 + 801dd96 commit 4d3c669
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/xapi-wait-init-complete.service
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Before=xapi-init-complete.target

[Service]
Type=oneshot
ExecStart=@OPTDIR@/bin/xapi-wait-init-complete 240
ExecStart=@OPTDIR@/bin/xapi-wait-init-complete 300
RemainAfterExit=yes

[Install]
Expand Down

0 comments on commit 4d3c669

Please sign in to comment.