Skip to content

Commit

Permalink
Skip CMIS manager (#10907)
Browse files Browse the repository at this point in the history
* Removed unwanted changes

* Fix j2 compilation error

* Address review comment

* Add newline
  • Loading branch information
prgeor authored Jun 22, 2022
1 parent 31dd0b3 commit 11ff80b
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,11 @@ dependent_startup_wait_for=rsyslogd:running
{% if not skip_xcvrd %}
[program:xcvrd]
{% if delay_xcvrd %}
command=bash -c "sleep 30 && {% if API_VERSION == 3 and 'xcvrd' not in python2_daemons %}python3 {% else %} python2 {% endif %}/usr/local/bin/xcvrd"
command={% if skip_xcvrd_cmis_mgr %} bash -c "sleep 30 && python3 /usr/local/bin/xcvrd --skip_cmis_mgr" {% else %} bash -c "sleep 30 && python3 /usr/local/bin/xcvrd" {% endif %}

{% else %}
command={% if API_VERSION == 3 and 'xcvrd' not in python2_daemons %}python3 {% else %} python2 {% endif %}/usr/local/bin/xcvrd
command={% if skip_xcvrd_cmis_mgr %} python3 /usr/local/bin/xcvrd --skip_cmis_mgr {% else %} python3 /usr/local/bin/xcvrd {% endif %}

{% endif %}
priority=6
autostart=false
Expand Down

0 comments on commit 11ff80b

Please sign in to comment.