[dockers][platform-monitor] Add chassis_db_init to platform monitor tasks (#7596)
I added `chassis_db_init` to the startup tasks for the `docker-platform-monitor` docker so that the script is run on startup of the switch and the chassis info is correctly provisioned to STATE_DB. Depends on https://github.com/Azure/sonic-platform-daemons/pull/183
This commit is contained in:
parent
b486686f90
commit
21b9fccd75
@ -41,6 +41,17 @@ dependent_startup=true
|
||||
dependent_startup_wait_for=rsyslogd:running
|
||||
{% endif %}
|
||||
|
||||
[program:chassis_db_init]
|
||||
command=/usr/local/bin/chassis_db_init
|
||||
priority=3
|
||||
autostart=false
|
||||
autorestart=false
|
||||
stdout_logfile=syslog
|
||||
stderr_logfile=syslog
|
||||
startsecs=0
|
||||
dependent_startup=true
|
||||
dependent_startup_wait_for=rsyslogd:running
|
||||
|
||||
{% if not skip_sensors and HAVE_SENSORS_CONF == 1 %}
|
||||
[program:lm-sensors]
|
||||
command=/usr/bin/lm-sensors.sh
|
||||
|
Loading…
Reference in New Issue
Block a user