Skip to content

Commit

Permalink
Increase wait-init-complete timeout
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.

Signed-off-by: Thierry Escande <[email protected]>
  • Loading branch information
tescande committed Nov 8, 2024
1 parent cbdc58f commit 801dd96
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 801dd96

Please sign in to comment.