sonic-buildimage/dockers/docker-lldp/docker-lldp-init.sh

6 lines
245 B
Bash
Raw Normal View History

#!/usr/bin/env bash
#Generate supervisord.conf based on device metadata
mkdir -p /etc/supervisor/conf.d/
sonic-cfggen -d -t /usr/share/sonic/templates/supervisord.conf.j2 > /etc/supervisor/conf.d/supervisord.conf
exec /usr/local/bin/supervisord