Skip to content

Commit

Permalink
[202012][platform/barefoot] (#8543)
Browse files Browse the repository at this point in the history
Why I did it
Pcied running by python 2.

How I did it
dropped python2 support and add python3 support for pcied in file docker-pmon.supervisord.conf.j2

How to verify it
docker exec pmon supervisorctl status
  • Loading branch information
KostiantynYarovyiBf authored Aug 22, 2021
1 parent d0c73b0 commit 33b9f2d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ dependent_startup_wait_for=rsyslogd:running

{% if not skip_pcied %}
[program:pcied]
command=/usr/local/bin/pcied
command={% if API_VERSION == 3 and 'pcied' not in python2_daemons %}python3 {% else %} python2 {% endif %}/usr/local/bin/pcied
priority=10
autostart=false
autorestart=unexpected
Expand Down

0 comments on commit 33b9f2d

Please sign in to comment.