sonic-buildimage/dockers/docker-platform-monitor
Samuel Angebault 0464d15b18
[pmon]: Run ledd using python3 unless excluded (#6528)
**- Why I did it**

Ledd is the last daemon that is not enabled to run in python3.
Even though there is a plan to deprecate this daemon and to replace it by something else it's one simple step toward python2 deprecation.

**- How I did it**

Changed the `command=` line for `ledd` in the `supervisord` configuration of `pmon`.
Copied what was done for other daemons.

**- How to verify it**

Booting a product that has a `led_control.py` should now show the ledd running in python3.
I ran `python3 -m pylint` on all `led_control.py` plugin which means that most of them should be python3 compliant.
There is however still a risk that some might not work.
2021-01-22 07:12:01 -08:00
..
base_image_files [submodule update] Add SSD Health tools (#3218) 2019-10-04 10:52:58 -07:00
ssd_tools [submodule update] Add SSD Health tools (#3218) 2019-10-04 10:52:58 -07:00
critical_processes [dockers] Update critical_processes file syntax (#4831) 2020-06-25 21:18:21 -07:00
docker_init.sh Add pmon daemons python3 build support (#6176) 2020-12-28 10:19:24 -08:00
docker-pmon.supervisord.conf.j2 [pmon]: Run ledd using python3 unless excluded (#6528) 2021-01-22 07:12:01 -08:00
Dockerfile.j2 [Platform][nokia]: python3-smbus package add with python3 and jinja fixes (#6416) 2021-01-12 15:05:06 -08:00
lm-sensors.sh [sensors]: Workaround for apparent bug in lm-sensors (#1058) 2017-10-20 11:01:26 -07:00