[pmon] Clean up supervisord chassis_db_init entry and fix startsecs (#10071)

Why I did it
Code review was still in progress when #9858 was merged and upon further testing I have arrived at a better solution.

How I did it
Modified supervisord configuration j2 template for pmon to require no minimum uptime for chassisd_db_init and to remove the redundant exit_codes directive

How to verify it
Boot switch and verify in syslog that there are no errors related to chassis_db_init
This commit is contained in:
Alexander Allen 2022-03-03 20:10:15 -05:00 committed by Judy Joseph
parent 0ab166a823
commit 8165b24ce2

View File

@ -47,10 +47,9 @@ command=/usr/local/bin/chassis_db_init
priority=3 priority=3
autostart=false autostart=false
autorestart=false autorestart=false
exitcodes=0
stdout_logfile=syslog stdout_logfile=syslog
stderr_logfile=syslog stderr_logfile=syslog
startsecs=10 startsecs=0
dependent_startup=true dependent_startup=true
dependent_startup_wait_for=rsyslogd:running dependent_startup_wait_for=rsyslogd:running
{% endif %} {% endif %}