Skip to content

Commit

Permalink
Add a configuration to delay start xcvrd for fast-reboot (#5643)
Browse files Browse the repository at this point in the history
  • Loading branch information
Junchao-Mellanox authored and abdosi committed Dec 22, 2020
1 parent 31389aa commit 547ec0a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"skip_ledd": true,
"skip_fancontrol": true
"skip_fancontrol": true,
"delay_xcvrd": true
}

Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,11 @@ dependent_startup_wait_for=start:exited

{% if not skip_xcvrd %}
[program:xcvrd]
{% if delay_xcvrd %}
command=bash -c "sleep 30 && /usr/bin/xcvrd"
{% else %}
command=/usr/bin/xcvrd
{% endif %}
priority=6
autostart=false
autorestart=false
Expand Down

0 comments on commit 547ec0a

Please sign in to comment.